Permalink
Browse files

example output cleanup

  • Loading branch information...
1 parent 71fd625 commit c775cde3caf9b375b52c07c6f9e3622222f01843 @isaacs isaacs committed Mar 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 example/bundle.js
  2. +1 −1 example/example.js
View
@@ -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
@@ -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))
})

0 comments on commit c775cde

Please sign in to comment.