Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration_test/package.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": "./node_modules/.bin/tsc"
},
"dependencies": {
"@google-cloud/pubsub": "^2.10.0",
"@google-cloud/pubsub": "^4.8.0",
"firebase-admin": "__FIREBASE_ADMIN__",
"firebase-functions": "__SDK_TARBALL__"
},
Expand Down
2 changes: 1 addition & 1 deletion integration_test/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ build_sdk
delete_all_functions

for version in 22 24; do
create_package_json $TIMESTAMP $version "^10.0.0"
create_package_json $TIMESTAMP $version "^12.0.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In Bash, it is best practice to double-quote variable expansions to prevent word splitting and globbing, even if the variables currently do not contain spaces.

Suggested change
create_package_json $TIMESTAMP $version "^12.0.0"
create_package_json "$TIMESTAMP" "$version" "^12.0.0"

install_deps
announce "Re-deploying the same functions to Node $version runtime ..."
deploy
Expand Down
Loading