aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/index.ts b/src/index.ts
index 2fa1f96..65349fc 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,14 +1,15 @@
-import { createContext } from './context';
-import { evalList } from './eval';
+import { createContext } from './context'
+import { evalList } from './eval'
const main = async () => {
const ctx = createContext()
const resultType = ctx.entryPoint.getType()
- const effects = resultType.isTuple() ? resultType.getTupleElements() : [resultType]
+ const effects = resultType.isTuple()
+ ? resultType.getTupleElements()
+ : [resultType]
await evalList(ctx, effects)
}
main()
.then(() => process.exit(0))
- .catch(e => (console.error(e), process.exit(1)))
-
+ .catch((e) => (console.error(e), process.exit(1)))