mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #1863 from bfhobbes/fix-issue-1860-bad-zipi-when-deploying-from-windows
fix #1860 - Cannot find module for any node_modules
This commit is contained in:
commit
f8ee88be0d
@ -51,8 +51,8 @@ module.exports = {
|
||||
}
|
||||
});
|
||||
|
||||
const platformName = ['UNIX', 'DOS'].indexOf(process.platform) !== -1 ? process.platform :
|
||||
'UNIX';
|
||||
const platformName = ['UNIX', 'DOS', 'win32'].indexOf(process.platform) !== -1 ?
|
||||
process.platform : 'UNIX';
|
||||
|
||||
return zip.generateAsync({
|
||||
type: 'nodebuffer',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user