You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REMINDER: when comparing paths, make sure to take into account Windows/WSL2 paths that will look like: 'C:\\Users\\MyUser\\my-project\\node_modules\\@fs\\flags-js\\src\\index.js'
39
+
Constructing paths with forward slashes works, but not comparing the file path string, which needs to use `path.join()` or `path.sep`
40
+
*/
41
+
37
42
// the nonExistents array is populated with any file that dependencyTree was unable to locate on the filesystem.
38
43
// Currently we have an issue if npm didn't flatten a dependency to node_modules/@fs/ then dependencyTree says that
39
44
// dependency is nonExistent. Specifically chinese-discovery-surname got into an issue once where zion-header wasn't
40
45
// flattened, and so they didn't get zion-header translations coalesced. We are adding this globbing logic to go
41
46
// find the least nested path to the "nonExistent" module.
0 commit comments