Skip to content

Commit

Permalink
ci: make windows run?
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Feb 28, 2024
1 parent f72dcb5 commit 50eb4e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class Config {
}

getSync(name, env) {
this.getEnv()

const cacheKey = [name, env ?? this.env].join(':')
if (this.cfg?.[cacheKey]) return this.cfg[cacheKey] // cached

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"prettier:fix": "npm run prettier -- --write",
"start": "NODE_ENV=production node ./server",
"develop": "NODE_ENV=development node ./server",
"test": "./test.sh",
"test": "sh test.sh",
"versions": "npx dependency-version-checker check",
"watch": "./test.sh watch"
"watch": "sh test.sh watch"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ async function init() {

async function start() {

Check warning on line 108 in routes/index.js

View check run for this annotation

Codecov / codecov/patch

routes/index.js#L108

Added line #L108 was not covered by tests
await setup()
/* c8 ignore next 3 */
await server.start()
console.log(`Server running at: ${server.info.uri}`)
return server
Expand Down

0 comments on commit 50eb4e4

Please sign in to comment.