Merge pull request #4510 from atom/skip-eslint
Skip eslint on our Windows build machine for now
This commit is contained in:
commit
723acfa1a1
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,7 @@ import glob
|
|||
import os
|
||||
import sys
|
||||
|
||||
from lib.config import PLATFORM
|
||||
from lib.util import execute
|
||||
|
||||
|
||||
|
@ -13,6 +14,10 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
|||
def main():
|
||||
os.chdir(SOURCE_ROOT)
|
||||
|
||||
# Skip eslint on our Windows build machine for now.
|
||||
if PLATFORM == 'win32' and os.getenv('JANKY_SHA1'):
|
||||
return
|
||||
|
||||
eslint = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'eslint')
|
||||
if sys.platform in ['win32', 'cygwin']:
|
||||
eslint += '.cmd'
|
||||
|
|
Loading…
Reference in a new issue