Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scully/scully.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let _options = {};
const folder = join(scullyConfig.homeFolder, scullyConfig.distFolder);

if (!existDistAngular(scullyConfig.homeFolder)) {
process.exit(0);
process.exit(15);
}

await moveDistAngular(folder, scullyConfig.outFolder, {removeStaticDist: true, reset: false});
Expand Down Expand Up @@ -105,7 +105,7 @@ let _options = {};

if (!(await waitForServerToBeAvailable().catch(e => false))) {
logError('Could not connect to server');
process.exit(0);
process.exit(15);
}
console.log('servers available');
await startScully();
Expand Down Expand Up @@ -179,5 +179,5 @@ export async function isBuildThere(config: ScullyConfig) {
return true;
}
logError(`Angular distribution files not found, run "ng build" first`);
process.exit(0);
process.exit(15);
}
2 changes: 1 addition & 1 deletion scully/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const loadIt = async () => {
distFolder = angularConfig.projects[defaultProject].architect.build.options.outputPath;
} catch (e) {
logError(`Angular config file could not be parsed!`, e);
process.exit(0);
process.exit(15);
}

// TODO: update types in interfacesandenums to force correct types in here.
Expand Down