Skip to content

Commit

Permalink
fix: Indent then in nitrogen (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy authored Dec 19, 2024
1 parent 745e57e commit 08f3c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nitrogen/src/syntax/swift/SwiftCxxBridgedType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ case ${i}:
{ () -> bridge.${bridge.specializationName} in
let __promise = ${makePromise}()
${swiftParameterName}
.then({ __result in __promise.pointee.resolve(${arg}) })
.then({ __result in __promise.pointee.resolve(${indent(arg, ' ')}) })
.catch({ __error in __promise.pointee.reject(__error.toCpp()) })
return __promise
}()`.trim()
Expand Down

0 comments on commit 08f3c6c

Please sign in to comment.