From 6285e26972939780a34cc5dacb8d3b217d984e5e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 16 Mar 2014 09:43:19 +0800 Subject: [PATCH] Fix coffeelint. --- script/coffeelint.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/coffeelint.py b/script/coffeelint.py index 4397e1a263..76a53b4232 100755 --- a/script/coffeelint.py +++ b/script/coffeelint.py @@ -16,10 +16,10 @@ def main(): coffeelint = os.path.join(SOURCE_ROOT, 'node_modules', 'coffeelint', 'bin', 'coffeelint') settings = ['--quiet', '-f', os.path.join('script', 'coffeelint.json')] - files = glob.glob('browser/api/lib/*.coffee') + \ - glob.glob('renderer/api/lib/*.coffee') + \ - glob.glob('common/api/lib/*.coffee') + \ - glob.glob('browser/atom/*.coffee') + files = glob.glob('atom/browser/api/lib/*.coffee') + \ + glob.glob('atom/renderer/api/lib/*.coffee') + \ + glob.glob('atom/common/api/lib/*.coffee') + \ + glob.glob('atom/browser/atom/*.coffee') try: subprocess.check_call(['node', coffeelint] + settings + files)