Skip to content

Commit

Permalink
--fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Jan 14, 2025
1 parent fc4489f commit dc1308f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helpers/repo-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ export class RepoData {
* @returns {boolean} - Whether the file exists
*/
checkFileExists (filePath, tree) {
console.log(filePath)
console.log(tree[0])
return tree.some((file) => file.path === filePath)
}

Expand Down Expand Up @@ -439,6 +441,7 @@ export class RepoData {
console.log('yarn.lock')
lockfileType = 'yarn.lock'
} else {
console.log('WHAT')
throw new UnsupportedLockFileError()
}
return lockfileType
Expand Down

0 comments on commit dc1308f

Please sign in to comment.