Skip to content

Commit

Permalink
Fixes creation of symbolic links
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-kneier committed Jun 15, 2023
1 parent 2f1a8ca commit 75e8203
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![Travis](https://img.shields.io/travis/solugo/gradle-nodejs-plugin.svg?style=for-the-badge)](https://travis-ci.org/solugo/gradle-nodejs-plugin)
[![License](https://img.shields.io/github/license/solugo/gradle-nodejs-plugin.svg?style=for-the-badge)](https://github.com/solugo/gradle-nodejs-plugin/blob/master/LICENSE)
[![Version](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/de/solugo/gradle/gradle-nodejs-plugin/maven-metadata.xml.svg?style=for-the-badge)](https://plugins.gradle.org/m2/de/solugo/gradle/gradle-nodejs-plugin/)

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/de/solugo/gradle/nodejs/NodeJsRegistry.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ object NodeJsRegistry {
entry is TarArchiveEntry && entry.isSymbolicLink -> {
Files.createSymbolicLink(
destination.toPath(),
destination.resolve(entry.linkName).toPath(),
destination.parentFile.resolve(entry.linkName).toPath(),
)
}

Expand Down

0 comments on commit 75e8203

Please sign in to comment.