From c01078cbdb01bf94a0855c2d4a98931d53cf4ffd Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sun, 17 Apr 2022 20:07:36 -0400 Subject: [PATCH] lint: formatting --- src/lib/commands.js | 2 +- src/lib/setup.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/commands.js b/src/lib/commands.js index e4e73f8..e306f22 100644 --- a/src/lib/commands.js +++ b/src/lib/commands.js @@ -1,4 +1,4 @@ -import { invoke } from '@tauri-apps/api/tauri' +import { invoke } from "@tauri-apps/api/tauri"; export async function getHighestSimd() { try { diff --git a/src/lib/setup.js b/src/lib/setup.js index c350ef0..4c5e845 100644 --- a/src/lib/setup.js +++ b/src/lib/setup.js @@ -36,18 +36,20 @@ export async function isAVXSupported() { return RequirementStatus.Unknown; } if (highestSIMD.toLowerCase().startsWith("avx")) { - return RequirementStatus.Met + return RequirementStatus.Met; } return RequirementStatus.Failed; } export async function isOpenGLVersionSupported(version) { // TODO - glewinfo not pre-compiled to work on linux yet! - if (await os.platform() === "linux" || await os.platform() === "darwin") { + if ((await os.platform()) === "linux" || (await os.platform()) === "darwin") { return RequirementStatus.Unknown; } // Otherwise, query for the version - let command = Command.sidecar("bin/glewinfo", ["-version", version], { cwd: "bin" }); + let command = Command.sidecar("bin/glewinfo", ["-version", version], { + cwd: "bin", + }); try { let output = await command.execute(); if (output.code === 0) {