Skip to content

Commit

Permalink
DNM
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Dec 31, 2024
1 parent 52e8918 commit 992d850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpers/repo-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ export class RepoData {
*/
async getVersionFromLockfile (lockfileType) {
const lockfile = await this.getRepoFileContent(lockfileType)
return lockfile

if (lockfileType === 'package-lock.json') {

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

View workflow job for this annotation

GitHub Actions / test

Unreachable code
const lockfileObject = JSON.parse(lockfile.data)
Expand Down

0 comments on commit 992d850

Please sign in to comment.