File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ async function getSentryManifest() {
8686async function removeDirs ( srcPath , options ) {
8787 const { exclude } = { __proto__ : null , ...options }
8888 const ignore = Array . isArray ( exclude ) ? exclude : exclude ? [ exclude ] : [ ]
89- return Promise . all ( [
89+ return await Promise . all (
9090 (
9191 await tinyGlob ( [ '**/*' ] , {
9292 absolute : true ,
@@ -96,13 +96,13 @@ async function removeDirs(srcPath, options) {
9696 ignore
9797 } )
9898 ) . map ( p => remove ( p ) )
99- ] )
99+ )
100100}
101101
102102async function removeFiles ( srcPath , options ) {
103103 const { exclude } = { __proto__ : null , ...options }
104104 const ignore = Array . isArray ( exclude ) ? exclude : exclude ? [ exclude ] : [ ]
105- return Promise . all ( [
105+ return await Promise . all (
106106 (
107107 await tinyGlob ( [ '**/*' ] , {
108108 absolute : true ,
@@ -112,7 +112,7 @@ async function removeFiles(srcPath, options) {
112112 ignore
113113 } )
114114 ) . map ( p => remove ( p ) )
115- ] )
115+ )
116116}
117117
118118function resetBin ( bin ) {
You can’t perform that action at this time.
0 commit comments