gecko-dev/testing/modules
Ian Moody e179244140 Bug 1541025 - testing/ automated ESLint no-throw-literal fixes. r=jmaher
Result of running:
$ mach eslint -funix testing/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D25758

--HG--
extra : moz-landing-system : lando
2019-04-02 13:44:16 +00:00
..
tests Bug 1541025 - testing/ automated ESLint no-throw-literal fixes. r=jmaher 2019-04-02 13:44:16 +00:00
ajv-4.1.1.js
AppData.jsm
AppInfo.jsm
Assert.jsm
CoverageUtils.jsm
FileTestUtils.jsm
MockRegistrar.jsm
MockRegistry.jsm
moz.build
sinon-7.2.7.js
Sinon.jsm
StructuredLog.jsm
TestUtils.jsm