analyzeFiles static method
- @Deprecated('see `analyze`, which now takes a list as an argument')
void
analyzeFiles(
- List files, {
- Directory? packageRoot,
- bool fatalWarnings = false,
})
Analyze one or more Files or paths (String).
Implementation
@Deprecated('see `analyze`, which now takes a list as an argument')
static void analyzeFiles(List files,
{Directory? packageRoot, bool fatalWarnings = false}) {
runlib.run(sdkBin('dart'), arguments: [
'analyze',
if (packageRoot != null) '--package-root=${packageRoot.path}',
if (fatalWarnings) '--fatal-warnings',
...coerceToPathList(files)
]);
}