Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
pier-service: better prod detection on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
arthyn committed Dec 23, 2021
1 parent cc69088 commit 94da2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/services/pier-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import mv from 'mv'
import { each } from 'async';
import find from 'find-process';

const IS_PROD = process.env.NODE_ENV === 'production';
const IS_PROD = !isDev;
const platform = getPlatform();

const asyncRm = promisify(unlink);
Expand Down

0 comments on commit 94da2f4

Please sign in to comment.