Skip to content

Commit 5c90239

Browse files
author
Ives van Hoorne
committed
Temporarily fix create-zip
1 parent 5bac379 commit 5c90239

File tree

1 file changed

+1
-3
lines changed
  • packages/app/src/app/store/providers/Utils/create-zip

1 file changed

+1
-3
lines changed

packages/app/src/app/store/providers/Utils/create-zip/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ export async function createZip(
144144

145145
let promise = null;
146146

147-
if (
148-
modules.find(m => m.title === 'package.json' && m.directoryShortid == null)
149-
) {
147+
if (directories.find(m => m.title === 'src' && m.directoryShortid == null)) {
150148
// This is a full project, with all files already in there. We need to create
151149
// a zip by just adding all existing files to it (downloading binaries too).
152150
promise = import(/* webpackChunkName: 'full-zip' */ './full').then(

0 commit comments

Comments
 (0)