mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
1f607d67c5
commit
7970376dda
|
@ -166,7 +166,7 @@ export class ExtHostFileSystem implements ExtHostFileSystemShape {
|
|||
}
|
||||
|
||||
let readOnlyMessage: IMarkdownString | undefined;
|
||||
if (options.isReadonly && isMarkdownString(options.isReadonly)) {
|
||||
if (options.isReadonly && isMarkdownString(options.isReadonly) && options.isReadonly.value !== '') {
|
||||
readOnlyMessage = {
|
||||
value: options.isReadonly.value,
|
||||
isTrusted: options.isReadonly.isTrusted,
|
||||
|
|
Loading…
Reference in a new issue