Skip to content

Commit 563026b

Browse files
committed
test: add comments to ignore coverage on some lines
1 parent d06b7ea commit 563026b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/simple-github-release/.size-limit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"path": "dist/index.js",
4-
"limit": "2.4 kB"
4+
"limit": "2.5 kB"
55
},
66
{
77
"path": "dist/cli/index.js",

packages/simple-github-release/src/git.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ function getBranchName() {
3232
/* c8 ignore stop */
3333
}
3434

35+
/* c8 ignore start */
3536
function getRemoteForBranch(branch: string) {
3637
return spawn('git', [
3738
'config',
3839
'--get',
3940
`branch.${branch}.remote`
4041
])
4142
}
43+
/* c8 ignore end */
4244

4345
async function getRemote() {
4446
const branchName = await getBranchName()

0 commit comments

Comments
 (0)