Skip to content

Commit

Permalink
Consider git-sourced dependencies immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandercampbell-wk committed Mar 21, 2024
1 parent 2fc5874 commit 3e0312f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/executable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ bool _allPackagesAreImportedImmutably(Iterable<String> 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
Expand Down

0 comments on commit 3e0312f

Please sign in to comment.