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

Unified Diff: third_party/WebKit/Source/devtools/scripts/buildbot/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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/scripts/buildbot/npm.py
diff --git a/third_party/WebKit/Source/devtools/scripts/buildbot/npm.py b/third_party/WebKit/Source/devtools/scripts/buildbot/npm.py
deleted file mode 100755
index 45f7bfd6f9abefd0ded85080ef3625d6886c578b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/devtools/scripts/buildbot/npm.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2016 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import imp
-import os
-import sys
-
-THIS_PATH = os.path.dirname(os.path.abspath(__file__))
-node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py'))
-
-if __name__ == '__main__':
- sys.exit(node_py.main('npm'))

Powered by Google App Engine
This is Rietveld 408576698