gradle-node-plugin
gradle-node-plugin copied to clipboard
NodePlugin runs uname twice
NodePlugin runs uname twice:
-
Once on line 90 (the result is unused)
https://github.com/node-gradle/gradle-node-plugin/blob/7.1.0/src/main/kotlin/com/github/gradle/node/NodePlugin.kt#L90-L94
-
Again on lines 91-94
https://github.com/node-gradle/gradle-node-plugin/blob/7.1.0/src/main/kotlin/com/github/gradle/node/NodePlugin.kt#L91-L94
Perhaps this is intentional, but I just wanted to double check, in case it was a mistake. If it's intentional I think it would help to add a comment to explain the purpose.