Skip to content

Commit 039e882

Browse files
committed
rename package to pkg to fix prettier error
1 parent 0453db4 commit 039e882

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

frontend/scripts/get-resolved-playwright-version.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const lockfile = require("@yarnpkg/lockfile");
55
let file = fs.readFileSync("yarn.lock", "utf8");
66
let json = lockfile.parse(file);
77

8-
//console.log(
9-
// Object.entries(json.object).find(([package]) => package.startsWith("@playwright/test"))[1]
10-
// .version,
11-
//);
8+
console.log(
9+
Object.entries(json.object).find(([pkg]) =>
10+
pkg.startsWith("@playwright/test"),
11+
)[1].version,
12+
);

0 commit comments

Comments
 (0)