Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Feb 10, 2022
1 parent 2b5cb3e commit 32685e1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/app/zap-templates/templates/chip/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,12 @@ async function if_basic_global_response(options)
{
const attribute = this.response.arguments[0];
const globalResponses = await getServerGlobalAttributeResponses(this);
const complexType = attribute.isNullable || attribute.isOptional || attribute.isStruct || attribute.isArray;
const complexType = attribute.isNullable || attribute.isOptional || attribute.isStruct || attribute.isArray;
const responseTypeExists = globalResponses.find(item => item.chipType == attribute.chipType);

if (!complexType && responseTypeExists)
{
if (!complexType && responseTypeExists) {
return options.fn(this);
}
else
{
} else {
return options.inverse(this);
}
}
Expand Down

0 comments on commit 32685e1

Please sign in to comment.