fix: remove commit hint when no git repo was initialized #1502
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #
β Checklist
Changelog
I've passed the noGit Option to the logNextSteps function and depending on that either logged the 'git commit -m "initial commit"' message or not
Screenshots
With git repo
![](https://camo.githubusercontent.com/7a3ca78715dd7b3a0242b3b607117e90195dbabd539166a187a568655798de01/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f313132363437383332323438323830363934352f313132363437383333393631323334383435362f696d6167652e706e67)
Without git repo
![](https://camo.githubusercontent.com/13d58d0d15394d9b8f64eab326502cd4c580bf8ac23f4b1f35f5de5e25816a22/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f313132363437383332323438323830363934352f313132363437383433303030333739383132362f696d6167652e706e67)
π―