Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

example output cleanup

  • Loading branch information...
commit c775cde3caf9b375b52c07c6f9e3622222f01843 1 parent 71fd625
@isaacs isaacs authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  example/bundle.js
  2. +1 −1  example/example.js
View
2  example/bundle.js
@@ -3,7 +3,7 @@ var P = require("../")
P({ path: "./" })
.on("package", bundleIt)
.on("entry", function (e) {
- console.error(e.constructor.name, e.path.substr(e.root.path.length + 1))
+ console.error(e.constructor.name, e.path.substr(e.root.dirname.length + 1))
e.on("package", bundleIt)
})
View
2  example/example.js
@@ -8,5 +8,5 @@ P({ path: "./" })
console.error("ignoreFile", e)
})
.on("entry", function (e) {
- console.error(e.constructor.name, e.path.substr(e.root.path.length + 1))
+ console.error(e.constructor.name, e.path.substr(e.root.dirname.length + 1))
})
Please sign in to comment.
Something went wrong with that request. Please try again.