diff --git a/lib/src/executable.dart b/lib/src/executable.dart index 4b77dcd5..531fbfa3 100644 --- a/lib/src/executable.dart +++ b/lib/src/executable.dart @@ -118,7 +118,7 @@ bool _allPackagesAreImportedImmutably(Iterable packageNames) { final pubSpecLock = loadYamlDocument(pubspecLockFile.readAsStringSync()); return getDependencySources(pubSpecLock, packageNames) .values - .every((source) => source == 'hosted'); + .every((source) => source == 'hosted' || source == 'git'); } /// Return null iff it is not possible to account for all