Codeship Tests Fail because package.json was deleted ...
nelsonic opened this issue · 1 comments
nelsonic commented
our package.json
file was (accidentally?) deleted in: ff9d15a
I'm partly to shame for merging the PR: https://github.com/dwyl/learn-aws-lambda/pull/56/files
But in my defence I thought it was because serverless was handling its dependencies a diff way...
nelsonic commented
Solution:
git checkout $(git rev-list -n 1 HEAD -- "package.json")^ -- "package.json"
see: http://stackoverflow.com/questions/953481/find-and-restore-a-deleted-file-in-a-git-repository