Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 11, 2023
1 parent 2edba08 commit 6e96dc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import {readdirSync, statSync} from 'node:fs';
import {Manager} from '@shockpkg/core';

export const platformIsMac = process.platform === 'darwin';
export const platformIsWindows =
process.platform === 'win32' || (process.platform as string) === 'win64';
export const platformIsWindows = /^win\d/.test(process.platform);

// eslint-disable-next-line no-process-env
export const envFastTest = process.env.DIR_PROJECTOR_FAST_TEST || null;
Expand Down

0 comments on commit 6e96dc2

Please sign in to comment.