Closed pismute closed 11 years ago
Oh it must be a legacy from grunt 0.3 or something in the early grunt 0.4.
grunt.fail.fatal
should be better than throwing a pure error.
Could you replace throw new grunt.task.taskError(err);
by grunt.fail.fatal(err)
?
I fixed it in a697f2fbdda08ca370042d83836b8a3dd55d1534. Let me know if this is causing trouble :-)
Thank you!
Does it still need 'throw new'? grunt.fail.fatal
makes grunt
shutdowned.
Could you tell me why it does?
Yes, it's definitely not needed. I have even not followed my own instructions ;-)
I have got another error:
You could get mime:
git clone https://github.com/pismute/ladybucks.git
cd ladybucks;npm install
grunt --stack
grunt.task
has notaskError
function. I think we can use this function in test only. I am not sure this problem, but It works.ps> I have an another question. I have got this error if I installed grunt-crx from npm repository. but I cannot get error if I install from local disk using 'npm link grunt-crx'. I cannot understand why...
Thank you.