zkat / npx

execute npm package binaries (moved)
https://github.com/npm/npx
Other
2.63k stars 105 forks source link

use path.delimiter instead of determining it based on process.platform #83

Closed elidoran closed 7 years ago

elidoran commented 7 years ago

The current version checks the process.platform value. Node already provides the result value in the path package. The path package is already being required. So, use path.delimiter.