Bug 1921853 - Backed out changeset c738614c9cb1 (Bug 1921150) - was temporary. r=dandarnell

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

--HG--
extra : rebase_source : 16f25c40a280153f92544d117950da297e31c4a5
This commit is contained in:
Rob Lemley 2024-10-02 13:12:09 +03:00
Родитель 6e20076e9f
Коммит 816a09dd4f
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -58,15 +58,9 @@ def _expand_support_files(root, config):
def eslint_wrapper(paths, config, **lintargs):
comm_root = Path(lintargs["root"]) / "comm"
pkg_json = comm_root / "package.json"
with open(pkg_json, "w") as fp:
fp.write("{}\n")
with pushd(comm_root):
rv = lint_wrapper(paths, config, **lintargs)
pkg_json.unlink(missing_ok=True)
return rv