Skip to content

Commit db61cee

Browse files
committed
Respect --base when looking for local grunt. Closes gh-26.
1 parent b4e6b3d commit db61cee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/grunt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if ('completion' in options) {
2323
completion.print(options.completion);
2424
} else if (options.version) {
2525
info.version();
26+
} else if (options.base) {
27+
basedir = path.resolve(options.base);
2628
} else if (options.gruntfile) {
2729
basedir = path.resolve(path.dirname(options.gruntfile));
2830
}

0 commit comments

Comments
 (0)