Skip to content

Commit

Permalink
fix default base path
Browse files Browse the repository at this point in the history
  • Loading branch information
Hajime-san committed Feb 9, 2023
1 parent 1cc8502 commit 32359d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export const main = async (args: {
},
}) => {
const { basePath, options } = args;
const _basePath = basePath ?? './';
const _basePath = basePath ?? '.';
const tsConfigPath = options?.tsConfigPath ?? './tsconfig.json';
const match = [/\.js$/, /\.mjs$/, /\.ts$/, /\.mts$/, /\.jsx$/, /\.tsx$/];
const decoder = new TextDecoder('utf-8');
Expand Down

0 comments on commit 32359d6

Please sign in to comment.