mirror of
https://github.com/only-cli/oc.git
synced 2026-09-15 10:40:56 +02:00
fix: drop a node_modules symlink committed by the 0.3.0-beta.1 release
The release commit was made from a scratch worktree whose node_modules was a symlink to another checkout, and .gitignore listed node_modules/ with a trailing slash, which matches a directory and not a symlink. So the link itself went into the tree, pointing at an absolute path on one machine. Anyone cloning main got a dangling node_modules before npm was ever run. The npm tarball is unaffected: the files whitelist decides what ships, and npm never packs node_modules, which the 0.3.0-beta.1 pack listing confirms. The ignore rule loses its trailing slash so it matches either shape.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
node_modules/
|
||||
node_modules
|
||||
*.log
|
||||
.idea/
|
||||
.env
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
/home/small/PycharmProjects/only-cli/node_modules
|
||||
Reference in New Issue
Block a user