Skip to content

Commit

Permalink
fix issue 163
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesvhays committed Oct 11, 2018
1 parent 378a996 commit d66c996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import chalk from 'chalk';
const pkgDir = require('pkg-dir');
const columns = require('cli-columns');
const stripAnsi = require('strip-ansi');
const version = jsonFile.readFileSync(path.join(pkgDir.sync(), 'package.json')).version;
const version = jsonFile.readFileSync(path.join(pkgDir.sync(__dirname), 'package.json')).version;

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

0 comments on commit d66c996

Please sign in to comment.