Skip to content

Commit

Permalink
Fix apostrophes for windows (#65)
Browse files Browse the repository at this point in the history
One of the team who uses Windows ran into a problem when using the **wip** functionality of the project. Even though they were using the tag the relevant scenario was not being run.

After some investigation, we tracked it down to how Windows was handling the call we have in `package.json`. Using double quotes rather than single ones seemed to be a requirement to get it to work on the Windows machine.

So, this change switches the single quotes for double quotes in the package.json. We have tested on our non-windows machines and the calls still work there.
  • Loading branch information
Cruikshanks authored Mar 28, 2022
1 parent 25c2c98 commit 07d175f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
"cy:run:dev": "rm -f cypress/reports/json/*.json && cypress run --env environment=dev",
"cy:run:tst": "rm -f cypress/reports/json/*.json && cypress run --env environment=tst",
"cy:run:pre": "rm -f cypress/reports/json/*.json && cypress run --env environment=pre",
"cy:run:ci": "rm -f cypress/reports/json/*.json && cypress-tags run --env environment=ci TAGS='@ci'",
"cy:wip:local": "rm -f cypress/reports/json/*.json && cypress open --env environment=local,TAGS='@wip'",
"cy:wip:dev": "rm -f cypress/reports/json/*.json && cypress open --env environment=dev,TAGS='@wip'",
"cy:wip:tst": "rm -f cypress/reports/json/*.json && cypress open --env environment=tst,TAGS='@wip'",
"cy:wip:pre": "rm -f cypress/reports/json/*.json && cypress open --env environment=pre,TAGS='@wip'",
"cy:run:ci": "rm -f cypress/reports/json/*.json && cypress-tags run --env environment=ci TAGS=\"ci\"",
"cy:wip:local": "rm -f cypress/reports/json/*.json && cypress open --env environment=local,TAGS=\"@wip\"",
"cy:wip:dev": "rm -f cypress/reports/json/*.json && cypress open --env environment=dev,TAGS=\"@wip\"",
"cy:wip:tst": "rm -f cypress/reports/json/*.json && cypress open --env environment=tst,TAGS=\"@wip\"",
"cy:wip:pre": "rm -f cypress/reports/json/*.json && cypress open --env environment=pre,TAGS=\"@wip\"",
"lint": "standard",
"test": "rm cypress/reports/json/*.json && cypress run",
"report": "node cypress/reports/report_generator.js"
Expand Down

0 comments on commit 07d175f

Please sign in to comment.