Skip to content

Commit

Permalink
add log for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 18, 2017
1 parent 3ce70d5 commit cdb4b60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dest/write-contents/write-symbolic-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function writeSymbolicLink(file, optResolver, onWritten) {

// This is done inside prepareWrite to use the adjusted file.base property
if (isRelative && !useJunctions) {
srcPath = path.relative(file.base, file.symlink);
srcPath = path.relative(file.base, srcPath);
}

var flag = optResolver.resolve('flag', file);
Expand All @@ -38,6 +38,7 @@ function writeSymbolicLink(file, optResolver, onWritten) {
type: symType,
};

console.log(srcPath, file.path);
fo.symlink(srcPath, file.path, opts, onWritten);
}

Expand Down

0 comments on commit cdb4b60

Please sign in to comment.