Merge pull request #195 from mehyaa/patch-1

Removed unnecessary dependency
development
David Benson 2018-06-22 16:06:15 +01:00 committed by GitHub
commit 7af5a44c5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
var path = require("path"),
fs = require("fs"),
parentFolderName = path.basename(path.resolve('..')),
mxClientContent,
deps;
@ -89,7 +88,7 @@ module.exports = function (grunt) {
},
});
require(parentFolderName === "node_modules" ? "load-grunt-parent-tasks" : "load-grunt-tasks")(grunt);
require("load-grunt-tasks")(grunt);
grunt.registerTask("default", [
"copy",
"concat",

View File

@ -24,7 +24,6 @@
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-webpack": "^2.0.1",
"load-grunt-parent-tasks": "^0.1.1",
"load-grunt-tasks": "^3.5.2",
"webpack": "^2.2.1"
}