diff --git a/lib/src/workflows/use_version.workflow.dart b/lib/src/workflows/use_version.workflow.dart index cf34b4fc..653d5ce2 100644 --- a/lib/src/workflows/use_version.workflow.dart +++ b/lib/src/workflows/use_version.workflow.dart @@ -108,9 +108,10 @@ Future _checkGitignore(Project project, {required bool force}) async { logger.detail('Update gitignore: $updateGitIgnore'); if (!await GitDir.isGitDir(project.path)) { - logger.detail('Project is not a git repository.'); - - return; + logger.warn( + 'Project is not a git repository. \n But will set .gitignore as IDEs may use it,' + 'to determine what to index and display on searches,', + ); } if (!updateGitIgnore) {