mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
On Windows, process.platform equals 'win32', therefore platformName was 'UNIX' instead of 'DOS'. This leaded into a strange behavior on UNIX platforms. According to jszip docs, platform option also accepts process.platform values. I simplified the code by passing process.platform directly.