From 53fe65ddbe7561dd5b9e8cb92428eedfbe841edc Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 30 Sep 2019 15:34:37 -0400 Subject: [PATCH] delay mac sign promises --- gulpfile.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gulpfile.js b/gulpfile.js index 9bf3564b..77f9aad7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -108,6 +108,7 @@ function signSafariExt(cb, dir) { const proc = child.spawn('codesign', args); stdOutProc(proc); promises.push(new Promise((resolve) => proc.on('close', resolve))); + promises.push(new Promise((resolve) => setTimeout(() => resolve(), 10000))); }); return Promise.all(promises).then(() => { return cb;