diff --git a/packages/shorebird_cli/lib/src/validators/tracked_lock_files_validator.dart b/packages/shorebird_cli/lib/src/validators/tracked_lock_files_validator.dart index 2defa3fc8..723a8729b 100644 --- a/packages/shorebird_cli/lib/src/validators/tracked_lock_files_validator.dart +++ b/packages/shorebird_cli/lib/src/validators/tracked_lock_files_validator.dart @@ -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: