mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
delay mac sign promises
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user