Skip to content

Commit 9aa7e89

Browse files
committed
test: add console.logs
1 parent 5777de9 commit 9aa7e89

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

badges/coverage.svg

+1-1
Loading

dist/index.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/get-file-from-branch.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export function getFileFromBranch(
77
offsetFromHead?: number
88
): Buffer {
99
const offset = offsetFromHead ? `~${offsetFromHead}` : ''
10-
10+
console.log('branch', branch)
11+
console.log('filePath', filePath)
12+
console.log('offset', offset)
1113
execSync(`git fetch origin ${branch}`)
1214
execSync(`git checkout ${branch} -- ${filePath}`)
1315
execSync(`git checkout HEAD${offset} -- ${filePath}`)

0 commit comments

Comments
 (0)