Skip to content

Commit

Permalink
fix(maker-zip): adjust cross-zip require
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed May 10, 2018
1 parent 86ea194 commit bd35ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/maker/zip/src/MakerZIP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class MakerZIP extends MakerBase<MakerZIPConfig> {
packageJSON,
targetPlatform,
}: MakerOptions) {
const zip = require('cross-zip');
const { zip } = require('cross-zip');

const zipDir = ['darwin', 'mas'].includes(targetPlatform) ? path.resolve(dir, `${appName}.app`) : dir;

Expand Down

0 comments on commit bd35ecd

Please sign in to comment.