Pin chalk to ^4.1 (#46985)

* Pin chalk to ^4.1

* Revert #46931
This commit is contained in:
Ron Buckton authored and GitHub committed 2021-12-02 11:05:17 -08:00
1 parent 670ad45bda
commit c792a66065
4 files changed
+11 -19

No files matched your search

+1 -1
View File
@@ -1,4 +1,5 @@
// @ts-check
const chalk = require("chalk");
const { join } = require("path");
const { readFileSync } = require("fs");
try {
@@ -17,7 +18,6 @@ const playwright = require("playwright");
const debugging = false;
(async () => {
const chalk = (await import("chalk")).default;
for (const browserType of ["chromium", "firefox"]) {
const browser = await playwright[browserType].launch({ headless: !debugging });
const context = await browser.newContext();