vadimdemedes / trevor

🚦 Your own mini Travis CI to run tests locally
MIT License
2.11k stars 51 forks source link

.dockerignore is written to the disk #51

Closed markelog closed 6 years ago

markelog commented 7 years ago

After trevor execution, .dockerignore with undefined content is written to the root of the project. Observed when exit code is 1 not sure for the successful executions

$ npm ls -g | grep trevor ├─┬ trevor@2.2.0

--

$ node -v v7.5.0

dawsbot commented 7 years ago

@markelog you'll see at the very end of main.js that there is a .dockerignore cleanup section. So when trevor succeeds until the end, there is cleanup. On errors, that .dockerignore artifact is not removed. Fixed in the above PR 🎉

dan-kez commented 6 years ago

I also have the same issue