Browse Source

chore: update description

Ahmad Kholid 3 years ago
parent
commit
bb34d8d277
2 changed files with 2 additions and 3 deletions
  1. 1 1
      package.json
  2. 1 2
      src/background/workflow-engine.js

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "automa",
   "version": "0.1.0",
-  "description": "Automate your browser by dragging and dropping a block",
+  "description": "An extension for automating your browser by connecting blocks",
   "license": "MIT",
   "repository": {
     "type": "git",

+ 1 - 2
src/background/workflow-engine.js

@@ -234,11 +234,10 @@ class WorkflowEngine {
     this.workflowTimeout = setTimeout(() => {
       if (!this.isDestroyed) this.stop('Workflow stopped because of timeout');
     }, this.workflow.settings.timeout || 120000);
+    this.currentBlock = block;
 
     workflowState.update(this.id, this.state);
 
-    this.currentBlock = block;
-
     const started = Date.now();
     const isInteraction = tasks[block.name].category === 'interaction';
     const handlerName = isInteraction