Skip to content

Commit

Permalink
Update packages/shorebird_cli/lib/src/validators/tracked_lock_files_v…
Browse files Browse the repository at this point in the history
…alidator.dart

Co-authored-by: Felix Angelov <[email protected]>
  • Loading branch information
bryanoltman and felangel authored Jan 3, 2025
1 parent b43545c commit 917255f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class TrackedLockFilesValidator extends Validator {
return [];
}

final isProjectTracked = await git.isGitRepo(directory: projectRoot);
if (!isProjectTracked) {
final isGitRepo = await git.isGitRepo(directory: projectRoot);
if (!isGitRepo) {
return [
ValidationIssue.warning(
message:
Expand Down

0 comments on commit 917255f

Please sign in to comment.