Skip to content

Commit

Permalink
Merge 94f413b into 801bd7e
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorn1089 committed Apr 20, 2018
2 parents 801bd7e + 94f413b commit db27d3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"lodash.isundefined": "3.0.1",
"lodash.omit": "^4.5.0",
"lodash.omitby": "4.6.0",
"packpath": "^0.1.0",
"pkginfo": "^0.4.1",
"popsicle": "^9.2.0"
},
"devDependencies": {
Expand Down
7 changes: 1 addition & 6 deletions src/common/logger.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import * as bunyan from "bunyan";
const PrettyStream = require("bunyan-prettystream");
const pkg = require("./metadata");

const path = require("path");
const packpath = require("packpath");

// Look up package.json regardless of nesting
const manifestFile = path.join(packpath.self(), "package.json");
const pkg = require(manifestFile);
const prettyStdOut = new PrettyStream();
prettyStdOut.pipe(process.stdout);

Expand Down
1 change: 1 addition & 0 deletions src/common/metadata.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("pkginfo")(module);

0 comments on commit db27d3f

Please sign in to comment.