remove unused case in TCO output
This commit is contained in:
@@ -32,10 +32,12 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
const config = vscode.workspace.getConfiguration("newt");
|
||||
const cmd = config.get<string>("path", "build/exec/newt");
|
||||
const command = `${cmd} --top ${fileName}`;
|
||||
let st = +new Date();
|
||||
exec(
|
||||
command,
|
||||
{ cwd, maxBuffer: 1024 * 1024 * 10 },
|
||||
(err, stdout, _stderr) => {
|
||||
console.log(`newt took ${+new Date() - st}`);
|
||||
// I think I ignored 1 here because I wanted failure to launch
|
||||
if (err && err.code !== 1)
|
||||
vscode.window.showErrorMessage(`newt error: ${err}`);
|
||||
|
||||
Reference in New Issue
Block a user