Skip to content

Commit dc86b90

Browse files
fix: fixed path resolve from config on verify-theme.ts and verify-theme.ts
Refs: #159
1 parent 677830d commit dc86b90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/utils/verify-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { PluginConfig } from '../classes/plugin-config.class.js';
66

77
export async function verifyPlugin(config: PluginConfig): Promise<void> {
88
const pluginPath = config.path
9-
? path.resolve(config.path, config.slug)
9+
? path.resolve(config.path)
1010
: path.resolve('./');
1111
const errors: SemanticReleaseError[] = [];
1212

lib/utils/verify-theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { PluginConfig } from '../classes/plugin-config.class.js';
66

77
export async function verifyTheme(config: PluginConfig): Promise<void> {
88
const themePath = config.path
9-
? path.resolve(config.path, config.slug)
9+
? path.resolve(config.path)
1010
: path.resolve('./');
1111
const errors: SemanticReleaseError[] = [];
1212

0 commit comments

Comments
 (0)