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 992d850 commit f9b7a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/repo-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ export class RepoData {
* @throws {RequestError} - If the request for the file data fails
*/
async getVersionFromLockfile (lockfileType) {
return lockfileType
const lockfile = await this.getRepoFileContent(lockfileType)

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

View workflow job for this annotation

GitHub Actions / test

Unreachable code
return lockfile

if (lockfileType === 'package-lock.json') {
const lockfileObject = JSON.parse(lockfile.data)
Expand Down

0 comments on commit f9b7a22

Please sign in to comment.