Skip to content

Commit 798f78c

Browse files
jrupeshamtrack
andauthored
Update src/commands/browserforce/apply.ts
Co-authored-by: Matthias Rolke <mr.amtrack@gmail.com>
1 parent 74ed41a commit 798f78c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/commands/browserforce/apply.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ function loadPluginSchema(pluginName: string): unknown | undefined {
1212
try {
1313
// Resolve schema path relative to the plugins directory
1414
// Since we're in src/commands/browserforce/, we need to go up to src/plugins/
15-
const schemaPath = new URL(
16-
`../../plugins/${camelToKebab(pluginName)}/schema.json`,
17-
import.meta.url,
18-
);
15+
const schemaPath = new URL(`../../plugins/${camelToKebab(pluginName)}/schema.json`, import.meta.url);
1916
const schemaContent = readFileSync(schemaPath, 'utf8');
2017
return JSON.parse(schemaContent);
2118
} catch (error) {

0 commit comments

Comments
 (0)