Skip to content

Commit

Permalink
fix: fixed path resolve from config on verify-theme.ts and verify-the…
Browse files Browse the repository at this point in the history
…me.ts

Refs: #159
  • Loading branch information
AntoninoBonanno committed Jan 17, 2024
1 parent 677830d commit dc86b90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils/verify-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PluginConfig } from '../classes/plugin-config.class.js';

export async function verifyPlugin(config: PluginConfig): Promise<void> {
const pluginPath = config.path
? path.resolve(config.path, config.slug)
? path.resolve(config.path)
: path.resolve('./');
const errors: SemanticReleaseError[] = [];

Expand Down
2 changes: 1 addition & 1 deletion lib/utils/verify-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PluginConfig } from '../classes/plugin-config.class.js';

export async function verifyTheme(config: PluginConfig): Promise<void> {
const themePath = config.path
? path.resolve(config.path, config.slug)
? path.resolve(config.path)
: path.resolve('./');
const errors: SemanticReleaseError[] = [];

Expand Down

0 comments on commit dc86b90

Please sign in to comment.