From f9b7a22022dd58fa56f8b06b99414704fdc4fbac Mon Sep 17 00:00:00 2001 From: Brett Kyle Date: Tue, 31 Dec 2024 22:20:53 +0000 Subject: [PATCH] DNM --- helpers/repo-data.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/repo-data.mjs b/helpers/repo-data.mjs index 18431539..0a401cd4 100644 --- a/helpers/repo-data.mjs +++ b/helpers/repo-data.mjs @@ -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) - return lockfile if (lockfileType === 'package-lock.json') { const lockfileObject = JSON.parse(lockfile.data)