Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuineng committed Nov 7, 2023
1 parent 37ff630 commit 2638f4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ const implicitWaitForCondition = function(func) {
};

const sendJSCommand = async function(script) {
const atomScript = `(${getAtom('execute_script')}})`;

const command = `${atomScript}(${JSON.stringify(script)})`;
const atomScript = getAtom('execute_script');
const command = `(${atomScript})(${JSON.stringify(script)})`;

let res;
await implicitWaitForCondition.call(this, async () => {
Expand Down

0 comments on commit 2638f4e

Please sign in to comment.