Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed May 10, 2022
1 parent 5afb52f commit 3f8913a
Show file tree
Hide file tree
Showing 2 changed files with 492 additions and 494 deletions.
2 changes: 0 additions & 2 deletions lib/grunt/file.js
Expand Up @@ -295,7 +295,6 @@ file.write = function(filepath, contents, options) {
// Handles symlinks by coping them as files or directories.
file.copy = function copy(srcpath, destpath, options) {
if (file.isLink(srcpath)) {
console.log('srcpath isLink', srcpath);
file._copySymbolicLink(srcpath, destpath);
} else if (file.isDir(srcpath)) {
// Copy a directory, recursively.
Expand Down Expand Up @@ -454,7 +453,6 @@ file.isPathCwd = function() {
};

file._copySymbolicLink = function(srcpath, destpath) {
console.log('_copySymbolicLink');
var destdir = path.join(destpath, '..');
// Use the correct relative path for the symlink
if (!grunt.file.isPathAbsolute(srcpath)) {
Expand Down

0 comments on commit 3f8913a

Please sign in to comment.