Skip to content

Commit

Permalink
Fixes for Standard 17.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alallier committed Jan 2, 2023
1 parent fb219c1 commit d5d7178
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/reload-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const fallback = (argv._[6] === 'true')
const verbose = (argv._[7] === 'true')

const reloadOpts = {
verbose: verbose,
verbose,
noExpress: true
}

Expand Down
2 changes: 1 addition & 1 deletion lib/reload.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ module.exports = function reload (app, opts, server) {
reload: function () {
sendMessage('reload')
},
wss: wss,
wss,
closeServer: function () {
return new Promise(function (resolve, reject) {
// Loop through all connections and terminate them for immediate server shutdown
Expand Down
4 changes: 2 additions & 2 deletions test/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function makeRequest (path, app, options) {
if (requestOptions.https) { // HTTPS
const optionsHTTPS = {
host: 'localhost',
path: path,
path,
port: 8080,
key: requestOptions.https.key,
cert: requestOptions.https.cert,
Expand All @@ -40,7 +40,7 @@ async function makeRequest (path, app, options) {
} else { // HTTP
http.get({
host: 'localhost',
path: path,
path,
port: 8080
}, function (response) {
httpOrHttpServer.close(function () {
Expand Down

0 comments on commit d5d7178

Please sign in to comment.