Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mifi committed Nov 7, 2023
1 parent 214dd5b commit 4e47cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/testserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function startTestServer(handler2) {
let tunnel

async function cleanup() {
await new Promise((resolve) => server.close(() => resolve()));
await new Promise((resolve) => server.close(() => resolve()))
if (tunnel) await tunnel.close()
}

Expand Down
2 changes: 1 addition & 1 deletion test/tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = ({ cloudFlaredPath = 'cloudflared', port }) => {
if (!foundUrl) {
const match = line.match(/(https:\/\/[^.]+\.trycloudflare\.com)/)
if (!match) return
;[, foundUrl] = match
;[, foundUrl] = match
} else {
const match = line.match(
/Connection [^\s+] registered connIndex=[^\s+] ip=[^\s+] location=[^\s+]/
Expand Down

0 comments on commit 4e47cae

Please sign in to comment.