Skip to content

Commit

Permalink
test(storage): fix copy_configuration script early exit (#3637)
Browse files Browse the repository at this point in the history
* test(storage): fix copy_configuration script early exit

* typo
  • Loading branch information
lawmicha authored Apr 25, 2024
1 parent 690dbc4 commit ad06953
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,15 @@ fi

if [ -f "$SOURCE_DIR/AWSS3StoragePluginTests-amplifyconfiguration.json" ]; then
cp "$SOURCE_DIR/AWSS3StoragePluginTests-amplifyconfiguration.json" "$DESTINATION_DIR/amplifyconfiguration.json"
exit 0
fi
else
touch "$DESTINATION_DIR/amplifyconfiguration.json"
fi

if [ -f "$SOURCE_DIR/AWSS3StoragePluginTests-amplify_outputs.json" ]; then
cp "$SOURCE_DIR/AWSS3StoragePluginTests-amplify_outputs.json" "$DESTINATION_DIR/amplify_outputs.json"
exit 0
else
touch "$DESTINATION_DIR/amplify_outputs.json"
fi



exit 0

0 comments on commit ad06953

Please sign in to comment.