try properly using string interpolation

pull/164/head
Aaron Trudeau 2022-01-27 02:04:22 -05:00
parent feb610ba6d
commit f53e41cd11
No known key found for this signature in database
GPG Key ID: 29F89A9BDAAF7BDE
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ if [ "$PACKAGE_MODE" = "true" ]; then
jq \ jq \
--arg packageName "$PACKAGE_NAME" \ --arg packageName "$PACKAGE_NAME" \
--arg projectPath "$UNITY_PROJECT_PATH" \ --arg projectPath "$UNITY_PROJECT_PATH" \
'.dependencies += {$packageName: ("file:$projectPath")} | . += {testables: [$packageName]}' \ '.dependencies += {$packageName: "file:\($projectPath)"} | . += {testables: [$packageName]}' \
> "$PACKAGE_MANIFEST_PATH" > "$PACKAGE_MANIFEST_PATH"
cat "$PACKAGE_MANIFEST_PATH" cat "$PACKAGE_MANIFEST_PATH"