Skip to content

Commit c1e94e9

Browse files
authored
Merge pull request #293 from tkskto/fix/mkdirp
fix: changed to named import.
2 parents 79682be + c5d4abd commit c1e94e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/server/Commander.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const getOptions = (_argv: string[]): {
99
silent: boolean,
1010
} => {
1111
program.option('--dir [dir]', 'root directory of src.', 'src');
12-
program.option('-f, --format [type]', 'Add the specified type of report [browser, json, html)]', FORMAT.BROWSER);
12+
program.option('-f, --format [type]', 'Add the specified type of report [browser, json, html]', FORMAT.BROWSER);
1313
program.option('-o, --out [dir]', 'output directory (enable with setting --format option to "json" or "html")', 'out');
1414
program.option('-p, --port [number]', 'select a port number for the local server', '8888');
1515
program.option('--silent', 'do not show logs with silent flag');

src/server/Output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {AnalyzeReport} from '../../types';
22
import {Renderer} from '../client/renderer';
33
import {Model} from '../client/model';
4-
import mkdirp from 'mkdirp';
4+
import {mkdirp} from 'mkdirp';
55
import path from 'path';
66
import {writeFileSync} from 'fs';
77
import {render} from 'ejs';

0 commit comments

Comments
 (0)