Created
February 18, 2015 22:46
-
-
Save NickHeiner/37bfa3611d34d308f3e7 to your computer and use it in GitHub Desktop.
bad bad bad bad
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
q.all(_.map(this.options(), function(configPromiseFn, configKey) { | |
var configPromise = configPromiseFn(); | |
return q(configPromise).then(function(configVal) { | |
grunt.verbose.ok('set-async-config: Setting key "' + configKey + '" to "' + configVal + '"'); | |
grunt.config(configKey, configVal); | |
}); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment