mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Shorten comment which was too long.
This commit is contained in:
parent
810d52ece5
commit
049aec6bc0
@ -767,7 +767,7 @@ describe('PluginManager', () => {
|
||||
const serverlessInstance = new Serverless();
|
||||
serverlessInstance.init();
|
||||
|
||||
// Cannot rely on shebang in severless.js to invoke script using NodeJS on Windows. Add 'node' to command.
|
||||
// Cannot rely on shebang in severless.js to invoke script using NodeJS on Windows.
|
||||
const execPrefix = os.platform() === 'win32' ? 'node ' : '';
|
||||
const serverlessExec = execPrefix + path.join(serverlessInstance.config.serverlessPath,
|
||||
'..', 'bin', 'serverless');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user