Skip to content

Commit

Permalink
Use const instead of let for constant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiepenney authored Jan 8, 2024
1 parent 9c696f9 commit 05aef2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function createChromeDockerTarget({
staticServerPath = dockerUrl.substr('file:'.length);
dockerUrl = `http://${ip}:${staticServerPort}`;
} else if(dockerUrl.indexOf('http://localhost') === 0) {

Check failure on line 74 in packages/target-chrome-docker/src/create-chrome-docker-target.js

View workflow job for this annotation

GitHub Actions / Static analysis

Insert `·`
let ip = getLocalIPAddress();
const ip = getLocalIPAddress();
if (!ip) {
throw new Error(
'Unable to detect local IP address, try passing --host argument'
Expand Down

0 comments on commit 05aef2e

Please sign in to comment.