We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3d5a21 commit 8d025dcCopy full SHA for 8d025dc
1 file changed
build/package.js
@@ -28,8 +28,10 @@ Promise.resolve()
28
.then((v)=> v.split('\n')[1])
29
.then((v)=> v.split('=')[1])
30
.then((v)=> {console.log("downloading " + v); return v;})
31
- .then((v)=> {download(v, './'); return v;})
32
- .then((v)=> v.split('/').reverse()[0])
33
- .then((v)=> { console.log("decompressing " + v); return v;})
34
- .then((v)=> decompress(v, './server', { strip: 1 }))
+ .then((v)=> {
+ download(v, './')
+ .then(()=>v.split('/').reverse()[0])
+ .then((x)=>decompress(x, './server', { strip: 1}))
35
+ .catch((err)=>{throw err;});
36
+ })
37
.catch((err)=>{ throw err; });
0 commit comments