Skip to content

Commit cb7ff80

Browse files
committed
fix: const→let for editable terminal name/version
1 parent 5829ca9 commit cb7ff80

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "terminfo.dev",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Test your terminal's feature support and contribute to terminfo.dev",
55
"keywords": [
66
"ansi",

cli/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ program
182182
.action(async (opts) => {
183183
// Confirm details BEFORE probes (stdin is still clean)
184184
const terminal = detectTerminal()
185-
const name = opts.terminalName ?? terminal.name
186-
const version = opts.terminalVersion ?? terminal.version
185+
let name = opts.terminalName ?? terminal.name
186+
let version = opts.terminalVersion ?? terminal.version
187187

188188
printHeader(terminal)
189189
console.log(``)

0 commit comments

Comments
 (0)