Skip to content

Commit 7a84d56

Browse files
authored
Cannot overwrite read only files anymore #104651 (#104654)
1 parent 1826b1f commit 7a84d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/textfile/electron-browser/nativeTextFileService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class NativeTextFileService extends AbstractTextFileService {
126126
}
127127

128128
try {
129-
return super.write(resource, value, options);
129+
return await super.write(resource, value, options);
130130
} catch (error) {
131131

132132
// In case of permission denied, we need to check for readonly

0 commit comments

Comments
 (0)