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

Commit 5ed4618

Browse files
Merge pull request #125 from Trivadis/bugfix/issue-123-non-ws-indent2
Bug Fixes #123 - undefined after formatting query
2 parents 06d6496 + b1527c6 commit 5ed4618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings/sql_developer/trivadis_custom_format_phase2.arbori

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ a2_remove_trailing_spaces:
9797
var key = it.next();
9898
var value = newlinePositions.get(key);
9999
// handle Linux and Windows line separators regardless of the OS
100-
var newValue = replaceAll(replaceAll(value, "[ ]+\\n", "\n"), ("[ ]+\\r\\n", "\r\n"));
100+
var newValue = replaceAll(replaceAll(value, "[ ]+\\n", "\n"), "[ ]+\\r\\n", "\r\n");
101101
if (!value.equals(newValue)) {
102102
struct.putNewline(key, newValue);
103103
logger.fine(struct.getClass(), "a2_remove_trailing_spaces: at " + key + ".");

0 commit comments

Comments
 (0)