Skip to content

Commit

Permalink
Merge pull request #1712 from gruntjs/fix-lint
Browse files Browse the repository at this point in the history
fix lint in file.js
  • Loading branch information
vladikoff authored Jun 30, 2020
2 parents bc168e3 + cdd1c19 commit 05c0634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grunt/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ file.isLink = function() {
var filepath = path.join.apply(path, arguments);
try {
return fs.lstatSync(filepath).isSymbolicLink();
} catch(e) {
} catch (e) {
if (e.code === 'ENOENT') {
// The file doesn't exist, so it's not a symbolic link.
return false;
Expand Down

0 comments on commit 05c0634

Please sign in to comment.