Skip to content

Commit

Permalink
Windows doesn't support single-quoted arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Oct 18, 2019
1 parent 9d91e75 commit 86814d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# Sadly we don't have a way of communicating the condition on has_secret
- ${{ parameters.setup }}
# Determine what features to use
- bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features '$FEATURES'\"; fi"
- bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features \\\"$FEATURES\\\"\"; fi"
name: features
displayName: Determine feature flags
env:
Expand Down
2 changes: 1 addition & 1 deletion azure/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
parameters:
rust: ${{ parameters.rust }}
setup: ${{ parameters.setup }}
- bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features '$FEATURES'\"; fi"
- bash: "if [[ -z $FEATURES ]]; then echo \"##vso[task.setvariable variable=features]\"; else echo \"##vso[task.setvariable variable=features]--features \\\"$FEATURES\\\"\"; fi"
name: features
displayName: Determine feature flags
env:
Expand Down

0 comments on commit 86814d7

Please sign in to comment.