Skip to content

Commit

Permalink
CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
uzzu committed Oct 29, 2022
1 parent f57d236 commit f6f2487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ktlint {
ignoreFailures.set(true)
}


subprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
ktlint {
Expand Down
1 change: 1 addition & 0 deletions plugin/src/main/kotlin/co/uzzu/dotenv/DotEnvParser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ object DotEnvParser {
private val keyValRegex = Regex("""^\s*([\w.-]+)\s*=\s*(.*)?\s*$""")
private val newLinesMatches = Regex("""\n|\r|\r\n""")


fun parse(text: String): Map<String, String> =
text
.split(newLinesMatches)
Expand Down

0 comments on commit f6f2487

Please sign in to comment.