Skip to content

Commit ada0fd3

Browse files
committed
chore: minor adjustments
1 parent e5a6769 commit ada0fd3

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ options: { headers?: Record < string, string | undefined> } = {},
4545
}
4646

4747
// eslint-disable-next-line regexp/no-misleading-capturing-group
48-
const inputRegex = /^(?<repo > [\w.-]+\/[\w.-]+)(?<subdir > [^#]+)?(?<ref>#[\w./@-]+)?/
48+
const inputRegex = /^(?<repo>[\w.-]+\/[\w.-]+)(?<subdir>[^#]+)?(?<ref>#[\w./@-]+)?/
4949

5050
export function parseGitURI(input: string): GitInfo {
5151
const m = input.match(inputRegex)?.groups || {}

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
"verbatimModuleSyntax": true,
2525
"skipDefaultLibCheck": true,
2626
"skipLibCheck": true
27-
}
27+
},
28+
"exclude": ["dist", "node_modules"]
2829
}

0 commit comments

Comments
 (0)