Skip to content

Commit

Permalink
removed perf from enum Feature
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmadFaraz-crypto authored and pionxzh committed Apr 18, 2024
1 parent fa02349 commit ba0d7bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import type { Module } from '@wakaru/unpacker'
enum Feature {
Unpacker = 'Unpacker',
Unminify = 'Unminify',
Perf = 'Perf',
}

const INPUT_SIZE_WARNING = 1024 * 1024 * 5 // 5MB
Expand Down Expand Up @@ -495,7 +494,7 @@ async function nonInteractive(features: Feature[], {
const outputPathsToCheck = []
if (features.includes(Feature.Unpacker)) outputPathsToCheck.push(unpackerOutput)
if (features.includes(Feature.Unminify)) outputPathsToCheck.push(unminifyOutput)
if (features.includes(Feature.Perf)) outputPathsToCheck.push(perfOutputPath)
outputPathsToCheck.push(perfOutputPath)

const outputValidationError = getValidateFromPaths(outputPathsToCheck, outputFolderValidation)
if (outputValidationError) {
Expand Down

0 comments on commit ba0d7bc

Please sign in to comment.