I found a bug in MagicMirror
Any module without a "master" branch will give the fatal error
[ERROR] fatal: your current branch 'master' does not have any commits yet
Platform:
Raspberrypi 3b+
Node Version:
v10.23.0
MagicMirror Version:
2.13.0
Description:
Any module without a "master" branch will give the fatal error
[ERROR] fatal: your current branch 'master' does not have any commits yet
Steps to Reproduce:
- Install a module without the master branch (i.e. mine: https://github.com/0m4r/MMM-covid19, it has a "main" branch as per the default github config for new repositories)
- start magic mirror
- check the server logs
Expected Results:
No fatal error is shown. Main is used as a reference branch
Actual Results:
A fatal error is shown
Configuration:
Not relevant
Additional Notes:
All seems to work well even with this error, and I know I could rename my main branch to master, but I think it should not be the case.
I found a bug in MagicMirror
Any module without a "master" branch will give the fatal error
[ERROR] fatal: your current branch 'master' does not have any commits yet
Platform:
Raspberrypi 3b+
Node Version:
v10.23.0
MagicMirror Version:
2.13.0
Description:
Any module without a "master" branch will give the fatal error
[ERROR] fatal: your current branch 'master' does not have any commits yet
Steps to Reproduce:
Expected Results:
No fatal error is shown. Main is used as a reference branch
Actual Results:
A fatal error is shown
Configuration:
Not relevant
Additional Notes:
All seems to work well even with this error, and I know I could rename my main branch to master, but I think it should not be the case.