grunt-track-revision
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "grunt-track-revision", | ||
"description": "Clone and checkout a revision from another repo", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/macobo/track-revision", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -35,9 +35,9 @@ /* | ||
grunt.log.debug(options); | ||
if (!options.repo) { | ||
grunt.fail.warn("Repo was not specified!"); | ||
grunt.fail.warn("repo was not specified!"); | ||
return false; | ||
} | ||
if (!options.dir) { | ||
grunt.fail.warn("Dir was not specified!"); | ||
grunt.fail.warn("dir was not specified!"); | ||
return false; | ||
@@ -47,5 +47,3 @@ } | ||
options.dir = path.resolve(options.dir); | ||
console.log(options); | ||
var work_tree = '--work-tree='+options.dir; | ||
@@ -52,0 +50,0 @@ |
8284