Skip to content

Commit

Permalink
support for options.fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsiaoming Yang committed Mar 22, 2013
1 parent ec9d312 commit eb63782
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/sdk/grunt.js
Expand Up @@ -125,6 +125,10 @@ grunt.loadGlobalTasks = function(name) {
};

grunt.invokeTask = function(name, options, fn) {
if (!fn && options.fallback) {
fn = options.fallback;
delete options.fallback;
}
grunt.option.init(options);

getGruntfiles(function(files) {
Expand Down

0 comments on commit eb63782

Please sign in to comment.