Skip to content

Commit 7b0cb01

Browse files
jamesvhaysmatt-gadd
authored andcommitted
fix issue 163 (#182)
1 parent 378a996 commit 7b0cb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import chalk from 'chalk';
1010
const pkgDir = require('pkg-dir');
1111
const columns = require('cli-columns');
1212
const stripAnsi = require('strip-ansi');
13-
const version = jsonFile.readFileSync(path.join(pkgDir.sync(), 'package.json')).version;
13+
const version = jsonFile.readFileSync(path.join(pkgDir.sync(__dirname), 'package.json')).version;
1414

1515
export default function logger(stats: any, config: any, runningMessage: string = ''): boolean {
1616
const assets = stats.assets

0 commit comments

Comments
 (0)