Skip to content

Commit d2bbebd

Browse files
committed
bug fix
1 parent 8a2b23a commit d2bbebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ exports.addFile = function (root, source, destination, options) {
8686
}
8787

8888
var projectRoot = exports.findProjectRoot(root);
89-
var sourcePath = Path.resolve(projectRoot, source);
89+
var sourcePath = Path.resolve(root, source);
9090
var destinationPath = Path.resolve(projectRoot, destination);
9191

9292
var matcher = new RegExp('^' + projectRoot.replace('/', '\/') + '\/.*$');

0 commit comments

Comments
 (0)