From ddecabba54eb24ab4ac07a67621f805d3ad9e2ce Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sun, 26 Apr 2020 21:53:26 -0400 Subject: These changes moved a lot of the startup async to run in a streamlined async init function. This brings more logic "to light", so it should probably have unit tests added to check the edge cases. As a bonus, no async runs as a result of route initialization. Speaking of routes, it might be nice to trim down the route calls themselves with async functions, if possible. The upload routes in particular use a lot of async. Just a note for the future. --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index af14397..abe8630 100644 --- a/package.json +++ b/package.json @@ -57,8 +57,7 @@ "src/**/*.ts", "!src/**/*.test.ts", "!src/**/__tests__/**/*.ts", - "!src/index.ts", - "!src/init.ts" + "!src/index.ts" ], "roots": [ "src/" -- cgit