Skip to content

Commit 0aa8034

Browse files
committed
use the full path instead for conversion
1 parent caf70d3 commit 0aa8034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function updateSpecs() {
8383
await execAndLog('npx', ['rdme', 'openapi:validate', fullPath]);
8484
// this converts the file to json, since it does this step directly in readme anyway
8585
await execAndLog(
86-
'npx', ['rdme', 'openapi', 'convert', fullPath, `--out=openapi/out/${convertSlugToJson(specFile)}`], {env}
86+
'npx', ['rdme', 'openapi', 'convert', fullPath, `--out=${convertSlugToJson(fullPath)}`], {env}
8787
);
8888
// publish the json version
8989
await execAndLog(

0 commit comments

Comments
 (0)