Skip to content

Commit 52cb477

Browse files
committed
fix(storage): fs check inconsistencies
1 parent ba92646 commit 52cb477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function promptForCustomStoragePath(): Promise<void> {
131131
try {
132132
// Test if path is accessible
133133
await fs.mkdir(result, { recursive: true })
134-
await fs.access(result, fsConstants.W_OK | fsConstants.X_OK)
134+
await fs.access(result, fsConstants.R_OK | fsConstants.W_OK | fsConstants.X_OK)
135135
vscode.window.showInformationMessage(t("common:info.custom_storage_path_set", { path: result }))
136136
} catch (error) {
137137
vscode.window.showErrorMessage(

0 commit comments

Comments
 (0)