You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running grunt --require coffeescript/register I get the warning Warning: Task "coffeescript/register" not found. Use --force to continue.
#117 introduced the cli options cwd and require. They are accessed here, but they are treated as boolean flags, because they are not passed as known arguments to nopt. This means that the arguments to cwd and require end up being interpreted as tasks names.
I think they should be added to the known object like this:
// Populate known object with args from grunt-known-options// ...// Add options that are unique to grunt-cliknown.cwd={type: String};known.require={type: Array};varoptions=nopt(known,aliases,process.argv,2);
The text was updated successfully, but these errors were encountered:
When running
grunt --require coffeescript/register
I get the warningWarning: Task "coffeescript/register" not found. Use --force to continue.
#117 introduced the cli options
cwd
andrequire
. They are accessed here, but they are treated as boolean flags, because they are not passed as known arguments tonopt
. This means that the arguments tocwd
andrequire
end up being interpreted as tasks names.I think they should be added to the
known
object like this:The text was updated successfully, but these errors were encountered: