firstandthird / load-grunt-config

Grunt plugin that lets you break up your Gruntfile config by task
firstandthird.github.io/load-grunt-config/
MIT License
374 stars 64 forks source link

No support for arrays in "configPath" (since 0.19.0) #143

Closed jonathan-weiss closed 8 years ago

jonathan-weiss commented 8 years ago

Starting with 0.19.0, arrays for the configPath property doesn't work.

{
configPath: "/home/foo/bar/grunt"
}

works, but

{
configPath: ["/home/foo/bar/grunt"]
}

leads to the following error:

Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'Gruntfile.js'
Grunt: The JavaScript Task Runner (v0.4.5)

In 0.18.0 | 0.17.2 | 0.17.1 both variants (arrays of strings / single string) works perfectly.

SolomoN-ua commented 8 years ago

Hi @tschoenti, PR https://github.com/firstandthird/load-grunt-config/pull/141 should fix this problem. I'm testing it right now and will publish fixed version soon.

SolomoN-ua commented 8 years ago

@tschoenti new version 0.19.1 is published to npm. Have a nice day.

jonathan-weiss commented 8 years ago

That's fast service. Thank!

Von meinem iPhone gesendet

Am 01.12.2015 um 16:59 schrieb Anatoliy Syernyi notifications@github.com:

@tschoenti new version 0.19.1 is published to npm. Have a nice day.

— Reply to this email directly or view it on GitHub.