Skip to content

Commit cab64b8

Browse files
committed
scripting: fix promise
1 parent b5f3c34 commit cab64b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libinputactions/scripting/ScriptingEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void ScriptingEngine::initialize()
9696
// Unhandled promise rejection handling
9797
// TODO Maybe perform the check when the promise is garbage collected if possible
9898
m_engine->evaluate(R"(
99-
const { delay } = require("inputactions/core");
99+
const { delay } = require("inputactions");
100100
101101
const patch = (promise) => {
102102
promise.__then = promise.then;

0 commit comments

Comments
 (0)