Comparing version 1.5.0 to 1.5.1
@@ -462,3 +462,2 @@ 'use strict'; | ||
var destdir = path.join(destpath, '..'); | ||
var fileBase = path.basename(srcpath); | ||
// Use the correct relative path for the symlink | ||
@@ -470,3 +469,2 @@ if (!grunt.file.isPathAbsolute(srcpath)) { | ||
var mode = grunt.file.isDir(srcpath) ? 'dir' : 'file'; | ||
var destpath = path.join(destpath, fileBase); | ||
if (fs.existsSync(destpath)) { | ||
@@ -473,0 +471,0 @@ // skip symlink if file already exists |
{ | ||
"name": "grunt", | ||
"description": "The JavaScript Task Runner", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"author": "Grunt Development Team (https://gruntjs.com/development-team)", | ||
@@ -6,0 +6,0 @@ "homepage": "https://gruntjs.com/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78173
1766