Skip to content

Commit

Permalink
Merge pull request #5 from wttech/fix/fix-backslash-for-pathfields-on…
Browse files Browse the repository at this point in the history
…-windows
  • Loading branch information
jaroslaw-pietraszek-vml authored Apr 18, 2023
2 parents 8156ac3 + e367312 commit 7038af1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class StringProp(group: Group, name: String) : Prop(group, name) {

init {
when { // name-based smart defaults
listOf("path", "directory", "URL").any { name.endsWith(it, true) } -> path()
listOf("path", "directory", "url").any { name.endsWith(it, true) } -> path()
listOf("token", "password", "key").any { name.endsWith(it, true) } -> password()
listOf("enabled", "disabled").any { name.endsWith(it, true) } -> checkbox()
}
Expand Down

0 comments on commit 7038af1

Please sign in to comment.