aboutsummaryrefslogtreecommitdiff
path: root/editors/vscode/src/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vscode/src/util.ts')
-rw-r--r--editors/vscode/src/util.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vscode/src/util.ts b/editors/vscode/src/util.ts
index 0ce8a57..6f1aae0 100644
--- a/editors/vscode/src/util.ts
+++ b/editors/vscode/src/util.ts
@@ -156,11 +156,11 @@ export function execute(command: string, options: ExecOptions): Promise<string>
}
if (stderr) {
- reject(new Error(stderr));
+ reject(new Error(stderr.toString()));
return;
}
-
- resolve(stdout.trimEnd());
+
+ resolve(stdout.toString().trimEnd());
});
});
} \ No newline at end of file