summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-09-14 15:01:28 +0200
committerBert Belder <bertbelder@gmail.com>2019-09-15 17:47:50 +0200
commitd936c49d532eaf6c4a5b8981765066cbc0b5a829 (patch)
tree6d358c3abd45affcc767d43504c594c490f32f28 /tools/lint.py
parent2d20ac831922d3b73406ac04b2bc6f75fc55036d (diff)
tools: consistently use 'sys.executable' instead of 'python' (#2950)
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-xtools/lint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint.py b/tools/lint.py
index 92e58dbc2..bd65da09e 100755
--- a/tools/lint.py
+++ b/tools/lint.py
@@ -16,7 +16,7 @@ eslint = os.path.join(third_party_path, "node_modules", "eslint", "bin",
os.chdir(root_path)
run([
- "python", cpplint, "--filter=-build/include_subdir",
+ sys.executable, cpplint, "--filter=-build/include_subdir",
"--repository=core/libdeno", "--extensions=cc,h", "--recursive", "core"
])