Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 04a218f

Browse files
committedJan 21, 2022
fixup! fix another typo
1 parent 6d7b17b commit 04a218f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎ci/steps/publish-npm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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"

‎test/unit/node/settings.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 () => {

0 commit comments

Comments
 (0)
Please sign in to comment.