We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7d9f0 commit db6d154Copy full SHA for db6d154
lib/filesystem.js
@@ -98,7 +98,7 @@ class Filesystem {
98
insertLink (p) {
99
const link = path.relative(fs.realpathSync(this.src), fs.realpathSync(p))
100
if (link.substr(0, 2) === '..') {
101
- throw new Error(`${p}: file links out of the package`)
+ throw new Error(`${p}: file "${link}" links out of the package`)
102
}
103
const node = this.searchNodeFromPath(p)
104
node.link = link
0 commit comments