Skip to content

Commit

Permalink
Fix lint and fmt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Sep 8, 2023
1 parent 3a9af39 commit 92ffcb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/client/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const runBenchmark = async (
await Deno.remove(videoFile);
// deno-lint-ignore no-empty
} catch {}

const start = performance.now();
const { killed, code } = await gameProcess.launch({
config,
Expand Down Expand Up @@ -351,7 +351,7 @@ export const runBenchmark = async (
} catch (err) {
options.verboseMode && console.error(err);
console.log(colors.red('Error'));

gameProcess.tryKillGameProcess();
await gameProcess.removeAutoexec();

Expand Down
2 changes: 1 addition & 1 deletion src/client/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { UploadWorkerDataType } from './upload.ts';
import { GameConfig, getConfig } from './config.ts';
import { WorkerDataType } from './worker.ts';
import { UserAgent } from './constants.ts';
import { createFolders, GameProcess, prepareGameLaunch } from './game.ts';
import { createFolders, GameProcess } from './game.ts';
import { gameModFolder, realGameModFolder } from './utils.ts';
import { parseArgs } from './cli.ts';

Expand Down

0 comments on commit 92ffcb7

Please sign in to comment.