Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 'publish' script if it's 'clean-publish'
If someone would try setting up 'clean-publish' as told in the docs, one would get an endless loop when trying to call 'npm publish'. This is because 'publish' scripts were not removed but called after cleanup, which would then cause the program to loop endlessly and creates an infinite tree of temporary directories. After this commit, 'clean-publish' will check if the 'publish' script contains call to 'clean-publish' and, if that's the case, remove this script. Closes #134
- Loading branch information