Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
saberduck committed Oct 18, 2023
1 parent e4e0fc8 commit 86fe4d5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/server
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ const shouldUseTypeScriptParserForJS = process.argv[5] !== 'false';
const sonarlint = process.argv[6] === 'true';
const debugMemory = process.argv[7] === 'true';

let bundles = [];
if (process.argv[8]) {
bundles = process.argv[8].split(path.delimiter);
}
const bundles = process.argv[8]?.split(path.delimiter) ?? [];

context.setContext({ workDir, shouldUseTypeScriptParserForJS, sonarlint, debugMemory, bundles });
server.start(Number.parseInt(port), host).catch(() => {});

0 comments on commit 86fe4d5

Please sign in to comment.