Skip to content

Commit

Permalink
Scripts are not show after uploading in Console Script Loader #28
Browse files Browse the repository at this point in the history
  • Loading branch information
zaharchenko committed Mar 13, 2020
1 parent 17026d0 commit 9ebc50c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ class JpqlConsoleExtended extends JpqlConsole {
console.setSuggester({ source, text, cursorPosition ->
suggesterHelper.getHint(console, text, cursorPosition)
})

console.setValue(params.getOrDefault('script', ''))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ class SqlConsoleExtended extends SqlConsole{
@Override
void init(Map<String, Object> params) {
super.init(params)

console.setValue(params.getOrDefault('script', ''))
}
}

0 comments on commit 9ebc50c

Please sign in to comment.