mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
add content property to vscode-dts-defined properties
This commit is contained in:
@@ -1177,7 +1177,7 @@ suite('vscode API - workspace', () => {
|
||||
const data = Buffer.from('Hello Binary Files');
|
||||
|
||||
const ws = new vscode.WorkspaceEdit();
|
||||
ws.createFile(fileUri, <any>{ contents: data, ignoreIfExists: false, overwrite: false });
|
||||
ws.createFile(fileUri, { contents: data, ignoreIfExists: false, overwrite: false });
|
||||
|
||||
const success = await vscode.workspace.applyEdit(ws);
|
||||
assert.ok(success);
|
||||
|
||||
Reference in New Issue
Block a user