Skip to content

Commit 3768bee

Browse files
committedSep 20, 2023
fix(exports): I think testing does not visit the copied CLI
1 parent 8ceccb9 commit 3768bee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/bin/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs from 'fs';
33
import path from 'path';
44
import * as url from 'url';
55

6-
import { bold, red, green, dim } from 'ansi-colors';
6+
import colors from 'ansi-colors';
77
import { glob } from 'fast-glob';
88
// eslint-disable-next-line import/order -- what the actual heck, this rule bounces
99
import parser from 'yargs-parser';
@@ -12,6 +12,7 @@ import type { OpenAPITSOptions } from 'openapi-typescript';
1212

1313
import { generate } from '../index.js';
1414

15+
const { bold, red, green, dim } = colors;
1516
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
1617

1718
/** print error message */

0 commit comments

Comments
 (0)
Please sign in to comment.