mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
specify --package-root
This commit is contained in:
parent
da78083fcf
commit
2a623397c7
@ -56,7 +56,8 @@ def main():
|
||||
|
||||
try:
|
||||
subprocess.check_output([
|
||||
DARTANALYZER, "--package-warnings", args.app_path
|
||||
DARTANALYZER, "--package-warnings", args.app_path,
|
||||
"--package-root", os.path.join(WORKBENCH, "packages")
|
||||
], stderr=subprocess.STDOUT, cwd=WORKBENCH)
|
||||
except subprocess.CalledProcessError as e:
|
||||
errors = [l for l in e.output.split('\n')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user