We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c010c commit aac65cfCopy full SHA for aac65cf
1 file changed
node/flatpak_node_generator/providers/npm.py
@@ -110,7 +110,7 @@ def _process_packages_v2(
110
source: PackageSource
111
package_json_path = lockfile.parent / install_path / 'package.json'
112
if (
113
- 'node_modules' not in package_json_path.parents
+ 'node_modules' not in install_path.split('/')
114
and package_json_path.exists()
115
):
116
source = LocalSource(path=install_path)
0 commit comments