Skip to content
Permalink
Browse files

Remove path-is-absolute dependency

  • Loading branch information
sibiraj-s committed Jul 5, 2020
1 parent 27bc5d9 commit e789b1f4ab1530d1fc7fad261027de24e2214735
Showing with 1 addition and 3 deletions.
  1. +1 −2 lib/grunt/file.js
  2. +0 −1 package.json
@@ -16,7 +16,6 @@ file.findup = require('findup-sync');
var YAML = require('js-yaml');
var rimraf = require('rimraf');
var iconv = require('iconv-lite');
var pathIsAbsolute = require('path-is-absolute');
var mkdirp = require('mkdirp').sync;

// Windows?
@@ -407,7 +406,7 @@ file.isFile = function() {
// Is a given file path absolute?
file.isPathAbsolute = function() {
var filepath = path.join.apply(path, arguments);
return pathIsAbsolute(filepath);
return path.isAbsolute(filepath);
};

// Do all the specified paths refer to the same path?
@@ -51,7 +51,6 @@
"minimatch": "~3.0.4",
"mkdirp": "~1.0.4",
"nopt": "~3.0.6",
"path-is-absolute": "~2.0.0",
"rimraf": "~3.0.2"
},
"devDependencies": {

0 comments on commit e789b1f

Please sign in to comment.
You can’t perform that action at this time.