Skip to content

Commit

Permalink
DNM: Testing failing yarn locks
Browse files Browse the repository at this point in the history
  • Loading branch information
domoscargin committed Jan 5, 2025
1 parent 6612135 commit 4d1d55e
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 @@ -298,6 +298,7 @@ export class RepoData {
// First, try the old yarn.lock format
yarnLockObject = yarnLock.parse(lockfile.data).object
} catch (error) {
console.log(error)
// Otherwise, try the new format
yarnLockObject = parseYaml(lockfile.data)
}
Expand Down

0 comments on commit 4d1d55e

Please sign in to comment.