Skip to content

Commit df42fa7

Browse files
Remove commented-out code for fallback Node.js version handling in getNodeDownloadURL function to improve code clarity.
1 parent 55281d7 commit df42fa7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

config/node-utils.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ func getNodeDownloadURL(nodeRuntime *Runtime) string {
7979
extension = "zip"
8080
}
8181

82-
// Use a more reliable Node.js version if the requested one doesn't exist
8382
version := nodeRuntime.Version()
8483

8584
downloadURL := fmt.Sprintf("https://nodejs.org/dist/v%s/node-v%s-%s-%s.%s", version, version, nodeOS, nodeArch, extension)

0 commit comments

Comments
 (0)