aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PRESUBMIT.cfg3
1 files changed, 1 insertions, 2 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index 9993474..e037261 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -1,6 +1,5 @@
[Hook Scripts]
-hook0=../../../../chromite/bin/cros lint ${PRESUBMIT_FILES}
-hook1=../../../platform2/common-mk/gnlint.py ${PRESUBMIT_FILES}
+cros lint = cros lint --commit ${PRESUBMIT_COMMIT} ${PRESUBMIT_FILES}
[Hook Overrides]
clang_format_check: true