Keeps running indefinetly on both mac books
johndoejabra opened this issue ยท 4 comments
fake-git-history --commitsPerDay "0,7" -s "19/10/22" -e "20/01/15"
keeps running indefinitely on the both the macs, with no visibile changes in file in the git repository.
eventually I killed the process with Ctrl + C and got this error in the screenshot
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file' cannot be empty. Received ''
at normalizeSpawnArguments (child_process.js:409:11)
at spawn (child_process.js:546:13)
at Object.execFile (child_process.js:232:17)
at exec (child_process.js:153:25)
at child_process.js:167:29
at generateHistory (/Users/*****/.config/yarn/global/node_modules/fake-git-history/index.js:42:11)
at module.exports (/Users/*****/.config/yarn/global/node_modules/fake-git-history/index.js:58:5)
at Object.<anonymous> (/Users/*****/.config/yarn/global/node_modules/fake-git-history/cli.js:48:1)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
Screenshots
after killing the process doing the git log
shows nothing
This behavior is reproducible on both my macs
Hi! Thank you for reporting the issue. I made a mistake in documentation saying the date must be in YY/MM/DD
format. It must be yyyy/MM/dd
, sorry for my mistake. So, the correct command for your is fake-git-history --commitsPerDay "0,7" -s "2019/10/22" -e "2020/01/15"
. Please let me know if it helps you.
Thanks, It does I can create a PR shortly to update the documentation.
that would be nice, thank you ๐
let me know if you have any questions about opening a PR