Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/env python | |
| 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 | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 import imp | |
| 7 import os | |
| 8 import sys | |
| 9 | |
| 10 THIS_PATH = os.path.dirname(os.path.abspath(__file__)) | |
| 11 node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py')) | |
| 12 | |
| 13 if __name__ == '__main__': | |
| 14 sys.exit(node_py.main('npm')) | |
| OLD | NEW |