terminfo.dev 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminfo.dev",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Test your terminal's feature support and contribute to terminfo.dev",
5
5
  "keywords": [
6
6
  "ansi",
package/src/index.ts CHANGED
@@ -182,8 +182,8 @@ program
182
182
  .action(async (opts) => {
183
183
  // Confirm details BEFORE probes (stdin is still clean)
184
184
  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
187
187
 
188
188
  printHeader(terminal)
189
189
  console.log(``)