chore: fix platform check

This commit is contained in:
calebboyd
2018-09-25 11:48:39 -05:00
parent a3af96eae8
commit 4a7bfd99b6
+1 -1
View File
@@ -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)