Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Side by Side Diff: third_party/WebKit/Source/devtools/scripts/local_node/npm.py

Issue 2338753003: DevTools: Make eslint mandatory and check node.js/npm modules in presubmit (Closed)
Patch Set: Fix node.py Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/scripts/local_node/node.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2016 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import imp 6 import imp
7 import os 7 import os
8 import sys 8 import sys
9 9
10 THIS_PATH = os.path.dirname(os.path.abspath(__file__)) 10 THIS_PATH = os.path.dirname(os.path.abspath(__file__))
11 node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py')) 11 node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py'))
12 12
13 if __name__ == '__main__': 13 if __name__ == '__main__':
14 sys.exit(node_py.main('npm')) 14 sys.exit(node_py.main('npm'))
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/devtools/scripts/local_node/node.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698