Skip to content

Commit 4d62deb

Browse files
authored
Merge branch 'develop' into superApp
2 parents 3c32fc0 + 2cc8015 commit 4d62deb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ With App Wish, you can unleash your creativity without worrying about the comple
66
<br/>
77

88

9-
10-
11-
129
## Functionality
1310

1411

@@ -22,6 +19,7 @@ Write a prompt about what your app should do and click on New App
2219
* ### Continue an Application
2320
Write a prompt with your inteded changes and click on Continue
2421

22+
2523
## Quick Start Guide(Release binary)
2624
Follow the information provided in the [latest release notes](https://github.com/pwgit-create/APPWISH_OLLAMA/releases/tag/v2.0) 😃.
2725

cg/CodeGenerator/CodeGenerator/src/main/java/pn/cg/util/StringUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,13 @@ private static String removeDelimiters(String input, boolean isStartDelimiter) {
159159
if (isStartDelimiter) {
160160
delimiter = CommonStringConstants.JAVA_CODE_GENERATION_START_DELMITER_STRING;
161161
returnValue = RemoveAllExceptTheFirstOccurrenceOfaAWord(returnValue, delimiter);
162+
returnValue = RemoveAllExceptTheFirstOccurrenceOfaAWord(returnValue,delimiter + "\n");
162163
} else if (!isStartDelimiter) {
163164
delimiter = CommonStringConstants.JAVA_CODE_GENERATION_END_DELMITER_STRING;
164165
returnValue = RemoveAllExceptTheLastOccurrenceOfWord(returnValue, delimiter);
166+
165167
returnValue = RemoveAllExceptTheLastOccurrenceOfWord(returnValue, delimiter + "\n");
168+
166169
}
167170
} catch (Exception e) {
168171
log.debug("Error on delimiter String removal process");

0 commit comments

Comments
 (0)