Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Data file reset issue #7

Closed
neel1996 opened this issue Jul 8, 2020 · 0 comments
Closed

Data file reset issue #7

neel1996 opened this issue Jul 8, 2020 · 0 comments
Assignees

Comments

@neel1996
Copy link
Owner

neel1996 commented Jul 8, 2020

After every CI run, the package gets pushed with an empty repo-datastore.json file which will affect git pull or replace the existing data file with an empty json file

This needs to be fixed within the CI script and also the starting server.js script needs to be updated to check for the data file and must include a fallback logic to create a new one

@neel1996 neel1996 self-assigned this Jul 8, 2020
@neel1996 neel1996 transferred this issue from neel1996/gitconvex Jul 8, 2020
neel1996 added a commit that referenced this issue Jul 8, 2020
- Updated server.js to check for the existing database file and to include a new one if not present. Fix for #7
- Included windowsHide flag for child_process to fix the pm2 cmd bombing bug #8
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant