From 356d4c1886e51faabc4239bc47cbd8c01487218b Mon Sep 17 00:00:00 2001 From: calebboyd Date: Mon, 2 Oct 2017 21:49:05 -0500 Subject: [PATCH] fix(nix): only make output executable --- src/steps/cli.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/steps/cli.ts b/src/steps/cli.ts index 423ed11..b2df6c1 100644 --- a/src/steps/cli.ts +++ b/src/steps/cli.ts @@ -1,6 +1,6 @@ import { normalize } from 'path' import { Readable } from 'stream' -import { createWriteStream, chmodSync } from 'fs' +import { createWriteStream, chmodSync, statSync } from 'fs' import { readFileAsync, dequote, isWindows } from '../util' import { NexeCompiler } from '../compiler' import { NexeTarget } from '../target' @@ -56,7 +56,8 @@ export default async function cli(compiler: NexeCompiler, next: () => Promise