Skip to content

Commit 3e8b546

Browse files
wagnertclaude
andcommitted
fix: replace require() with ES6 import in SchemaInspector
- Convert require('readline') to ES6 import statement - Fixes ESLint error: @typescript-eslint/no-var-requires - Ensures CI pipeline passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b81a5e4 commit 3e8b546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/SchemaInspector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @category CLI
55
*/
66

7+
import * as readline from 'readline';
78
import { AppSheetClient } from '../client';
89
import { TableInspectionResult, ConnectionDefinition, TableDefinition } from '../types';
910

@@ -227,7 +228,6 @@ export class SchemaInspector {
227228
console.log('\nAutomatic table discovery is not available.');
228229
console.log('Please enter table names manually.\n');
229230

230-
const readline = require('readline');
231231
const rl = readline.createInterface({
232232
input: process.stdin,
233233
output: process.stdout,

0 commit comments

Comments
 (0)