Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneeldias committed Nov 30, 2023
1 parent 14d3fcd commit 9801315
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions persist-cli-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ def checkPostgreSQLTestDockerContainerStatus(containerName) {
}
}


task stopPostgreSQLTestDockerContainer() {
doLast {
if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
Expand All @@ -338,7 +337,6 @@ task stopPostgreSQLTestDockerContainer() {
}
}


checkstyle {
toolVersion "${project.checkstylePluginVersion}"
configFile rootProject.file("build-config/checkstyle/build/checkstyle.xml")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ public FunctionDefinitionNode getInitFunction(Module entityModule) {
init.addQualifiers(new String[] { BalSyntaxConstants.KEYWORD_PUBLIC, BalSyntaxConstants.KEYWORD_ISOLATED });
init.addReturns(TypeDescriptor.getOptionalTypeDescriptorNode(BalSyntaxConstants.EMPTY_STRING,
BalSyntaxConstants.PERSIST_ERROR));
init.addStatement(NodeParser.parseStatement(
String.format(this.initDbClientMethodTemplate, this.datasource)));
init.addStatement(NodeParser.parseStatement(String.format(this.initDbClientMethodTemplate, this.datasource)));
IfElse errorCheck = new IfElse(NodeParser.parseExpression(String.format(
BalSyntaxConstants.RESULT_IS_BALLERINA_ERROR, BalSyntaxConstants.DB_CLIENT)));
errorCheck.addIfStatement(NodeParser.parseStatement(String.format(BalSyntaxConstants.RETURN_ERROR,
Expand Down

0 comments on commit 9801315

Please sign in to comment.