Closed joscha closed 9 years ago
:+1:
Great work thanks @joscha :-)
And now published as of v1.0.2
:+1:
Careful: this version is not published on npmjs, yet.
@joscha it is, either through npm install grunt-crx@1.0.2
or npm install grunt-crx@beta
(cf. npm info grunt-crx
) – you have publish rights btw ;-)
@oncletom ah, nice, I didn't know I had publish rights, thank you :)
When using the task with a non-standard key location, the options never were passed to the task config, as the options were removed due to multiTask files normalization, resulting in an error
if one changed the
options.privateKey
property. This was never found out, because the tests itself use the internal methodextensionHelper.createObject
and passed theoptions
in. The code intasks/crx.js
was never part of the tests.This PR fixes this, by properly passing on the
options
hash to the taskConfig if defined. As a side-effect it also adds coverage fortasks/crx.js
.