cowboy/grunt — Issue #62: config('pkg.version') toStrings to [object Object]
Author: jzaefferer
Created: 2012-03-08 11:12:03+00:00
State: open

Here's a simeple task to reproduce:

task.registerTask('print_version', function() {
log.writeln(config("pkg.version")); // [object Object]
log.writeln(config("pkg").version); // actual version, e.g. 0.2.15
});

Looks like config('pkg.version') also returns the pkg object, instead of the version property. That's supposed to work, isn't it?