Skip to content

Commit 988015f

Browse files
authored
Add double quotes in variable
1 parent 15c9ebe commit 988015f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function setup_wordpress_files() {
166166
cd "$HTDOCS"
167167
export build_root="$(pwd)"
168168

169-
hosts_wp_version=$(cat $hosts_file | shyaml get-value "$GITHUB_BRANCH.WP_VERSION" 2> /dev/null)
169+
hosts_wp_version=$(cat "$hosts_file" | shyaml get-value "$GITHUB_BRANCH.WP_VERSION" 2> /dev/null)
170170

171171
# Check if WP_VERSION is already defined in hosts.yml
172172
# Priority: 1. hosts.yml, 2. workflow file, else use latest

0 commit comments

Comments
 (0)