Skip to content
Snippets Groups Projects
Commit a1225a15 authored by Ali Asaria's avatar Ali Asaria
Browse files

return consistent object on error

parent d9b82044
No related branches found
No related tags found
No related merge requests found
......@@ -363,7 +363,8 @@ export async function executeInstallStep(argument: string) {
console.log(
'Install step failed. TransformerLab directory has not been setup.'
);
return false;
const err = new Error('TransformerLab directory has not been setup.');
return { error: err, stdout: '', stderr: '' };
}
const installScriptFilename = 'install.sh';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment