Skip to content

Commit

Permalink
chore: force lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Mar 21, 2024
1 parent a9bf440 commit a04512a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/login.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineCommand({
const app = createApp()
let handled = false
// Get machine name
const host = hostname().replace(/-/g, ' ').replace('.local', '').replace('.home', '')
const host = hostname().replace(/-/g, ' ').replace('.local', '').replace('.home', '').toLowerCase()
const tokenName = `NuxtHub CLI on ${host}`
// eslint-disable-next-line no-async-promise-executor
await new Promise(async (resolve) => {
Expand Down

0 comments on commit a04512a

Please sign in to comment.