@datacamp/learn-vm-scripts 0.0.3-rc.7 → 0.0.3-rc.8
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.
- package/dist/index.cjs +1 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -95431,6 +95431,7 @@ var resetChrome = async ({ userDataDir }) => {
|
|
|
95431
95431
|
initialDelay: 100,
|
|
95432
95432
|
maxRetries: 10
|
|
95433
95433
|
});
|
|
95434
|
+
console.log("Chrome reset!");
|
|
95434
95435
|
};
|
|
95435
95436
|
|
|
95436
95437
|
// src/startInputWatcher.ts
|
|
@@ -95509,13 +95510,6 @@ var startInputWatcher = async ({
|
|
|
95509
95510
|
console.log("No input");
|
|
95510
95511
|
return;
|
|
95511
95512
|
}
|
|
95512
|
-
if (lastInput != null && newInput === lastInput) {
|
|
95513
|
-
console.log("Input already processed");
|
|
95514
|
-
console.log("Resetting Chrome anyway as a test");
|
|
95515
|
-
await resetChrome({ userDataDir });
|
|
95516
|
-
await outputFileHandle.appendFile(`Done: ${newInput}`);
|
|
95517
|
-
return;
|
|
95518
|
-
}
|
|
95519
95513
|
if (lastInput != null) {
|
|
95520
95514
|
console.log("Resetting Chrome");
|
|
95521
95515
|
await resetChrome({ userDataDir });
|
package/package.json
CHANGED