.git directory present within module
See original GitHub issueThis is a really minor issue but thought it was worth reporting 😃
Do you want to request a feature or report a bug? Bug
What is the current behavior?
There is a .git directory present within the module at the following path: src/runtimes/web/dom/sockjs/.git
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar.
During our build process we do a git clean -fdx
which results in the following error:
fatal: Not a git repository: node_modules/pusher-js/src/runtimes/web/dom/sockjs/../../../../../.git/modules/sockjs-client
What is the expected behavior? No extraneous .git directories
Which versions of Pusher, and which browsers / OS are affected by this issue? Did this work in previous versions of Pusher? If so, which? Unsure when the issue was introduced, but it exists in 4.1.0 and 4.2.2
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top GitHub Comments
I assume this issue was caused by somebody publishing to npm after initialising the submodule. I’m sorry this happened, but I believe this is resolved now.
@willedwards the command “git clean -fdx” is used to remove untracked directories (like node_modules/ added to .gitignore). But if an untracked directory is managed by a different git repository - it is honored. Possible to force it with double -f but Jenkins git clean is using single -f by default.