diff --git a/gulpfile.js b/gulpfile.js index 077ac16371..02bb0fa2e7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -197,7 +197,7 @@ function distSafariApp(cb, subBuildPath, devId) { }).then(() => { const libs = fs.readdirSync(builtAppexFrameworkPath).filter((p) => p.endsWith('.dylib')) .map((p) => builtAppexFrameworkPath + p); - const allItems = libs.concat([builtAppexPath]); + const allItems = [].concat([builtAppexPath]); const promises = []; allItems.forEach ((i) => { const proc = child.spawn('codesign', [