@datacamp/learn-vm-scripts 0.0.3-rc.6 → 0.0.3-rc.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.cjs +6 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -95420,8 +95420,12 @@ var retryWithExponentialBackoff = async ({
95420
95420
  throw new Error("Max retries exceeded");
95421
95421
  };
95422
95422
  var resetChrome = async ({ userDataDir }) => {
95423
- const stdout = (0, import_node_child_process.execSync)("taskkill /IM chrome.exe /F");
95424
- console.log("Result from killing chrome.exe:", stdout.toString());
95423
+ try {
95424
+ const stdout = (0, import_node_child_process.execSync)("taskkill /IM chrome.exe /F");
95425
+ console.log("Result from killing chrome.exe:", stdout.toString());
95426
+ } catch (e) {
95427
+ console.error("Error killing chrome.exe:", e);
95428
+ }
95425
95429
  await retryWithExponentialBackoff({
95426
95430
  fn: () => (0, import_promises3.rm)(userDataDir, { recursive: true, force: true }),
95427
95431
  initialDelay: 100,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datacamp/learn-vm-scripts",
3
- "version": "0.0.3-rc.6",
3
+ "version": "0.0.3-rc.7",
4
4
  "repository": "git@github.com:datacamp-engineering/learn-vm-scripts.git",
5
5
  "description": "Scripts used by VMs in learn.",
6
6
  "main": "./dist/index.cjs",