Skip to content

Commit

Permalink
Change the temporary folder creation code to a single line
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martinez <[email protected]>
  • Loading branch information
seoseonyu and Dashboy1998 authored Feb 1, 2024
1 parent e644eaf commit 358e759
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ restore_error_handler() {
fi

echo "Clean up the temporary directory."
rm -rf "$TMP_PATH"
rm -rf "$TMP_SAVE_PATH"
rm -rf "$TMP_PATH" "$TMP_SAVE_PATH"

exit 1
}
Expand Down

0 comments on commit 358e759

Please sign in to comment.