From 9ae6ed8ae893ca91210852759daeb00c8f4347c7 Mon Sep 17 00:00:00 2001 From: calebboyd Date: Sat, 27 Apr 2019 17:20:21 -0500 Subject: [PATCH] chore: log open handles after a minute or two --- tasks/build.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/build.ts b/tasks/build.ts index 6dee803..792555a 100644 --- a/tasks/build.ts +++ b/tasks/build.ts @@ -1,5 +1,6 @@ const huh = require('wtfnode') import * as nexe from '../lib/nexe' +import { closeSync } from 'fs' import { getUnBuiltReleases, getLatestGitRelease } from '../lib/releases' import { runDockerBuild } from './docker' import { getTarget, targetsEqual, NexeTarget } from '../lib/target' @@ -95,7 +96,7 @@ async function build() { throw reason }) console.log(target + ' uploaded.') - huh.dump() + process.exit(0) } }