Skip to content

Commit 3e0312f

Browse files
Consider git-sourced dependencies immutable
1 parent 2fc5874 commit 3e0312f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/executable.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ bool _allPackagesAreImportedImmutably(Iterable<String> packageNames) {
118118
final pubSpecLock = loadYamlDocument(pubspecLockFile.readAsStringSync());
119119
return getDependencySources(pubSpecLock, packageNames)
120120
.values
121-
.every((source) => source == 'hosted');
121+
.every((source) => source == 'hosted' || source == 'git');
122122
}
123123

124124
/// Return null iff it is not possible to account for all

0 commit comments

Comments
 (0)