Skip to content

Commit

Permalink
test(storage): fix copy_configuration script (#3635)
Browse files Browse the repository at this point in the history
  • Loading branch information
lawmicha committed Apr 25, 2024
1 parent f8b9885 commit 690dbc4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ else
touch "$DESTINATION_DIR/amplifyconfiguration.json"
fi

if [ -f "$SOURCE_DIR/AWSS3StoragePluginTests-amplifyconfiguration.json" ]; then
cp "$SOURCE_DIR/AWSS3StoragePluginTests-amplifyconfiguration.json" "$DESTINATION_DIR/amplifyconfiguration.json"
exit 0
fi
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
Expand Down

0 comments on commit 690dbc4

Please sign in to comment.