mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
workaround GlobPattern#from issue, fyi @bpasero
This commit is contained in:
@@ -2412,6 +2412,13 @@ export class RelativePattern implements IRelativePattern {
|
||||
|
||||
this.pattern = pattern;
|
||||
}
|
||||
|
||||
toJSON(): IRelativePattern {
|
||||
return {
|
||||
pattern: this.pattern,
|
||||
base: this.base
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@es5ClassCompat
|
||||
|
||||
Reference in New Issue
Block a user