Skip to content

Commit f4d095a

Browse files
authored
Merge pull request #123 from ericcrosson-bitgo/do-not-calculate-relative-paths-from-input-files
fix(openapi-generator): do not calculate relative paths from input files
2 parents c8ccb46 + 8703ce3 commit f4d095a

File tree

1 file changed

+1
-4
lines changed
  • packages/openapi-generator/src

1 file changed

+1
-4
lines changed

packages/openapi-generator/src/cli.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,10 @@ const app = command({
5959
}),
6060
},
6161
handler: async ({ input, output, tsConfig, name, includeInternal }) => {
62-
const baseDir = p.dirname(tsConfig);
63-
const relativeInput = p.relative(baseDir, input);
64-
6562
const api = pipe(
6663
componentsForProject({
6764
virtualFiles: {},
68-
index: relativeInput,
65+
index: input,
6966
tsConfig,
7067
name,
7168
includeInternal,

0 commit comments

Comments
 (0)