tom-weatherhead/thaw-interpreter

View on GitHub
src/cli.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function driver has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function driver(argv: string[]): void {
    if (argv.length <= 2) {
        // TODO: Use process.stderr.write() ?
        console.error('Usage: intrprtr language-name [script-path-list]');
        process.exit(1);
Severity: Minor
Found in src/cli.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status