Skip to content

Commit

Permalink
dnm
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Dec 27, 2024
1 parent 58f460d commit a6b6c27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helpers/repo-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ export class RepoData {
}

async checkPrototype(packageObject) {
console.log(this.repoTree.data.tree)
console.log(
this.repoTree.data.tree.some((file) => file.path == 'lib/usage_data.js')
)
console.log(packageObject?.dependencies)
console.log('govuk-prototype-kit' in packageObject.dependencies)
return
this.repoTree.data.tree.some((file) => file.path == 'lib/usage_data.js') ||

Check failure on line 70 in helpers/repo-data.mjs

View workflow job for this annotation

GitHub Actions / lint

Unreachable code
(packageObject?.dependencies &&
Expand Down

0 comments on commit a6b6c27

Please sign in to comment.