Skip to content

Commit

Permalink
fix quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello committed Aug 1, 2023
1 parent 1e9cd43 commit 24ab53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rock-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# $rockcraft_yaml: Path of the rockcraft.yaml to update
#
## Node dependency
node_version="$(sed -n 's|\"@types/node\":\s\"\(.*\)\",|\1|p' \"$application_src\"/web/ui/package.json)"
node_version="$(sed -n 's|\"@types/node\":\s\"\(.*\)\",|\1|p' $application_src/web/ui/package.json)"
node_version="${node_version##*^}"
node_version="${node_version%%\.*}"
yq -i 'del(.parts.prometheus.build-snaps.[] | select(. == "node/*"))' "$rockcraft_yaml"
Expand Down

0 comments on commit 24ab53f

Please sign in to comment.