File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ const hashPrepackage = async (prepackagePath) => {
82
82
// unzip backend zip for mac
83
83
const unzipBackendAndCleanUp = async ( zipPath = phZipPath ) => {
84
84
let unzipCommand = `mkdir -p '${ backendPath } ' && tar -xf '${ zipPath } ' -C '${ backendPath } ' &&
85
- rm '${ zipPath } ' &&
86
85
cd '${ backendPath } ' &&
87
86
'./hats_shell.sh' echo "Initialise"
88
87
` ;
@@ -278,10 +277,11 @@ const downloadBackend = async (tag=undefined) => {
278
277
return async ( ) => await execCommand ( command ) ;
279
278
} ;
280
279
280
+ // MacOS only
281
281
const validateZipFile = async ( zipPath ) => {
282
282
const isZipValid = async ( zipPath ) => {
283
283
const command = `
284
- if unzip -t ${ zipPath } >/dev/null 2>&1; then
284
+ if unzip -t " ${ zipPath } " >/dev/null 2>&1; then
285
285
echo "true"
286
286
else
287
287
echo "false"
You can’t perform that action at this time.
0 commit comments