Skip to content

Commit

Permalink
fix: alignment hostname (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycs77 authored Jun 11, 2024
1 parent e7b6552 commit 1546667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ cli
if (process.env.ESLINT_CONFIG)
options.config ||= process.env.ESLINT_CONFIG

console.log(MARK_INFO, `Starting ESLint config inspector at`, c.green(`http://${host}:${port}`), '\n')
console.log(MARK_INFO, `Starting ESLint config inspector at`, c.green(`http://${host === '127.0.0.1' ? 'localhost' : host}:${port}`), '\n')

const cwd = process.cwd()
const server = await createHostServer({
Expand Down

0 comments on commit 1546667

Please sign in to comment.