Skip to content

Commit 9f8194c

Browse files
committed
Make options optional
1 parent 9c9d5c6 commit 9f8194c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function generateHTTPSConfig(configPath: string) {
4343

4444
export async function runHTK(options: {
4545
configPath?: string
46-
}) {
46+
} = {}) {
4747
const configPath = options.configPath || envPaths('httptoolkit', { suffix: '' }).config;
4848

4949
await ensureDirectoryExists(configPath);

0 commit comments

Comments
 (0)