Skip to content

Commit

Permalink
the real fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard committed Jul 18, 2023
1 parent 3e3ac27 commit e943197
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions call.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env node

const engine = require('./imports/engine.cjs');
const { call } = require('./imports/engine.cjs');

const DEEPLINKS_CALL_OPTIONS = process.env.DEEPLINKS_CALL_OPTIONS || '{ "operation": "run" }';

(async() => {
await engine.call(JSON.parse(DEEPLINKS_CALL_OPTIONS));
await call(JSON.parse(DEEPLINKS_CALL_OPTIONS));
})()
2 changes: 1 addition & 1 deletion imports/engine.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ const call = async (options) => {
permissionsAreChecking = false;
}
}
exports.call = call;

const engineStr = _generateEngineStr({ operation: options.operation, isDeeplinksDocker: isDeeplinksDocker.result, isDeepcaseDocker: isDeepcaseDocker.result, envs} )
log({engineStr});
Expand Down Expand Up @@ -365,3 +364,4 @@ const call = async (options) => {

return { ...options, platform, _hasura, user, permissionsResult, _deeplinks, isDeeplinksDocker, isDeepcaseDocker, envs, engineStr, fullStr: `${envsStr} ${engineStr}`, ...engine };
}
exports.call = call;

0 comments on commit e943197

Please sign in to comment.