We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae1c640 commit 5a392adCopy full SHA for 5a392ad
src/main/groovy/com/moowork/gradle/node/task/SetupTask.groovy
@@ -135,7 +135,9 @@ class SetupTask
135
Path npm = Paths.get( variant.nodeBinDir.path, 'npm' )
136
if ( Files.deleteIfExists( npm ) )
137
{
138
- Files.createSymbolicLink( npm, Paths.get( variant.npmScriptFile ) )
+ Files.createSymbolicLink(
139
+ npm,
140
+ variant.nodeBinDir.toPath().relativize(Paths.get(variant.npmScriptFile)))
141
}
142
143
0 commit comments