File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ main() {
7474 # We only need to run npm version for "development" and "staging".
7575 # This is because our release:prep script automatically bumps the version
7676 # in the package.json and we commit it as part of the release PR.
77- if [[ ENVIRONMENT == " production" ]]; then
77+ if [[ " $ ENVIRONMENT" == " production" ]]; then
7878 NPM_VERSION=" $VERSION "
7979 else
8080 echo " Not a production environment"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ describe("settings", () => {
1414 testDir = await tmpdir ( testName )
1515 } )
1616 describe ( "with invalid JSON in settings file" , ( ) => {
17- let mockSettingsFile = "coder.json"
17+ const mockSettingsFile = "coder.json"
1818 let pathToMockSettingsFile = ""
1919
2020 beforeEach ( async ( ) => {
@@ -33,7 +33,7 @@ describe("settings", () => {
3333 } )
3434 } )
3535 describe ( "with invalid settings file path" , ( ) => {
36- let mockSettingsFile = "nonExistent.json"
36+ const mockSettingsFile = "nonExistent.json"
3737 let pathToMockSettingsFile = ""
3838
3939 beforeEach ( async ( ) => {
You can’t perform that action at this time.
0 commit comments