fromCurrentDirectory static method

Future<PackageChecker> fromCurrentDirectory({
  1. required Config config,
})

Creates a package checker by checking the current directory for a pubspec.yaml and a package_config.json file.

Implementation

static Future<PackageChecker> fromCurrentDirectory({
  required Config config,
}) async {
  return fromDirectory(
    directory: Directory.current,
    config: config,
  );
}