Skip to content

Commit ad06953

Browse files
authored
test(storage): fix copy_configuration script early exit (#3637)
* test(storage): fix copy_configuration script early exit * typo
1 parent 690dbc4 commit ad06953

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

AmplifyPlugins/Storage/Tests/StorageHostApp/copy_configuration.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,15 @@ fi
2727

2828
if [ -f "$SOURCE_DIR/AWSS3StoragePluginTests-amplifyconfiguration.json" ]; then
2929
cp "$SOURCE_DIR/AWSS3StoragePluginTests-amplifyconfiguration.json" "$DESTINATION_DIR/amplifyconfiguration.json"
30-
exit 0
31-
fi
30+
else
3231
touch "$DESTINATION_DIR/amplifyconfiguration.json"
3332
fi
3433

3534
if [ -f "$SOURCE_DIR/AWSS3StoragePluginTests-amplify_outputs.json" ]; then
3635
cp "$SOURCE_DIR/AWSS3StoragePluginTests-amplify_outputs.json" "$DESTINATION_DIR/amplify_outputs.json"
37-
exit 0
3836
else
3937
touch "$DESTINATION_DIR/amplify_outputs.json"
4038
fi
4139

42-
43-
4440
exit 0
4541

0 commit comments

Comments
 (0)