Bug 1950917 - Avoid warning about linting the entire repo when only running setup. r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D246887
This commit is contained in:
@@ -442,6 +442,7 @@ def run(
|
||||
not paths
|
||||
and Path.cwd() == Path(lint.root)
|
||||
and not (outgoing or workdir or rev)
|
||||
and not setup
|
||||
):
|
||||
print(
|
||||
"warning: linting the entire repo takes a long time, using --outgoing and "
|
||||
|
||||
Reference in New Issue
Block a user