src/cli/run.js
Function spawn
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
spawn(cmd, opts = {}) {
const cleanAndExit = (code = 0) => {
servers.rm(opts);
this._exit(code);
};
Replace ⏎········.then(startServer)⏎········
with .then(startServer)
Open
Open
getPort()
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
Open
throw err;
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/
Delete ··
Open
Open
});
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/