mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1248360 - Set eslint version to 1.10.3 when setting it up via mach
MozReview-Commit-ID: LmKsvGzj3fo
This commit is contained in:
parent
0970bd7a11
commit
22b2841052
@ -219,9 +219,11 @@ class MachCommands(MachCommandBase):
|
|||||||
if not npmPath:
|
if not npmPath:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
# Install eslint.
|
# Install eslint 1.10.3.
|
||||||
|
# Note that that's the version currently compatible with the mozilla
|
||||||
|
# eslint plugin.
|
||||||
success = self.callProcess("eslint",
|
success = self.callProcess("eslint",
|
||||||
[npmPath, "install", "eslint", "-g"])
|
[npmPath, "install", "eslint@1.10.3", "-g"])
|
||||||
if not success:
|
if not success:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user