Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
Made os() public. (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunikkk authored Aug 7, 2018
1 parent 05d1714 commit a15e3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/src/main/kotlin/com/gojuno/commander/os/Processes.kt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ enum class Os {
Windows
}

internal fun os(): Os {
fun os(): Os {
val os = System.getProperty("os.name", "unknown").toLowerCase(Locale.ENGLISH)

return if (os.contains("mac") || os.contains("darwin")) {
Expand Down

0 comments on commit a15e3a4

Please sign in to comment.