Skip to content

Commit 938972c

Browse files
committed
using absolute path
1 parent 58ebf83 commit 938972c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/tsgen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {StackConnectionConfig} from '../types'
88

99
function createOutputPath(outputFile: string) {
1010
const outputPath = path.resolve(
11-
sanitizePath(process.cwd()),
11+
__dirname,
1212
sanitizePath(outputFile),
1313
)
1414
console.log(outputPath,"Output Path is showed");

0 commit comments

Comments
 (0)