New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data path for old versions of Ghost. #2

merged 1 commit into from Jan 18, 2017


None yet
2 participants
Copy link

fatihacet commented Jan 17, 2017

I am using very old version of Ghost therefore my GhostData.json doesn't have db array. In my case it was without .db[0].. Your migrator throw an error with my old GhostData.json and I debug it and find out that in my case there is no db in data object. After I did the minor change, everything worked as expected, and thank you for this migrator 馃憤

I added a defensive check to handle old GhostData.json. Feel free to close this PR if you don't want to deal with older versions of Ghost. Although everything will work as before with my changes.


This comment has been minimized.

Copy link

jasonslyvia commented Jan 18, 2017

Wow, thanks for your contribution, no doubt it will be merged 馃槃

@jasonslyvia jasonslyvia merged commit 17d004b into jasonslyvia:master Jan 18, 2017


This comment has been minimized.

Copy link

fatihacet commented Jan 18, 2017

@jasonslyvia Thanks for the quick response 馃帀

@fatihacet fatihacet deleted the fatihacet:patch-1 branch Jan 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment