Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit dd05183

Browse files
committed
Merge branch 'develop' of https://github.com/codeoverflow-org/chatoverflow into develop
2 parents a25d1c2 + 89f8832 commit dd05183

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ project/plugins/project/
2121
/plugins-public/
2222
/plugins-private/
2323
/gui/
24+
/setup/
2425

2526
# Plugin Framework
2627
/plugins/

project/SbtFile.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ class SbtFile(var name: String, var version: String, var plugins: List[Plugin],
5555
val sbtContent = new StringBuilder("// GENERATED FILE USING THE CHAT OVERFLOW PLUGIN FRAMEWORK\n")
5656

5757
if (name != "") {
58-
sbtContent append "\nname := \"%s\"".format(name.replaceAll("\\", ""))
58+
sbtContent append "\nname := \"%s\"".format(name.replaceAll("\\\\", ""))
5959
}
6060

6161
if (version != "") {
62-
sbtContent append "\nversion := \"%s\"".format(version.replaceAll("\\", ""))
62+
sbtContent append "\nversion := \"%s\"".format(version.replaceAll("\\\\", ""))
6363
}
6464

6565
if (plugins.nonEmpty) {

0 commit comments

Comments
 (0)