From 4a7bfd99b6b53d96cc653bd250e3e7b36c3fc772 Mon Sep 17 00:00:00 2001 From: calebboyd Date: Tue, 25 Sep 2018 11:48:39 -0500 Subject: [PATCH] chore: fix platform check --- tasks/asset-compile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/asset-compile.ts b/tasks/asset-compile.ts index 547b71c..d408e8f 100644 --- a/tasks/asset-compile.ts +++ b/tasks/asset-compile.ts @@ -60,7 +60,7 @@ async function build() { } console.log('Building: ', target) const stop = keepalive() - if (['arm7l', 'arm6l', 'arm64', 'alpine'].indexOf(target.platform)) { + if (['arm7l', 'arm6l', 'arm64', 'alpine'].includes(target.platform)) { await runDockerBuild(target) } else { await nexe.compile(options)