Skip to content

Commit

Permalink
fix(src): rename MissingPluginDependenciesError custom error
Browse files Browse the repository at this point in the history
  • Loading branch information
manushak committed Jul 18, 2024
1 parent f17895c commit ae7ad73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/if-env/util/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {STRINGS} from '../config';

import {EnvironmentOptions} from '../types/if-env';

const {MissingPluginDependenciesError} = ERRORS;
const {MissingManifestDependenciesError} = ERRORS;
const {
FAILURE_MESSAGE_DEPENDENCIES,
FAILURE_MESSAGE,
Expand All @@ -38,7 +38,7 @@ export const getOptionsFromArgs = async (commandArgs: {
const dependencies = rawManifest?.execution?.environment.dependencies || [];

if (!dependencies.length) {
throw new MissingPluginDependenciesError(FAILURE_MESSAGE_DEPENDENCIES);
throw new MissingManifestDependenciesError(FAILURE_MESSAGE_DEPENDENCIES);
}

const pathsWithVersion = extractPathsWithVersion(plugins, dependencies);
Expand Down

0 comments on commit ae7ad73

Please sign in to comment.