From 220d5bc688ee85c7a3ecf38282f4975fef08de0c Mon Sep 17 00:00:00 2001 From: llunaCreixent Date: Wed, 29 Mar 2023 09:08:30 +0200 Subject: [PATCH] Fix process.env --- src/utils/findPath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/findPath.js b/src/utils/findPath.js index acaed875..e908c4e3 100644 --- a/src/utils/findPath.js +++ b/src/utils/findPath.js @@ -66,7 +66,7 @@ export async function findMaxFlow(from, to, setMaxFlow) { // Therefore we set the attemptsLeft and the hops option will be ignored. try { let response; - if (process.env.PATHFINDER_TYPE === 'cli') { + if (core.options.pathfinderType === 'cli') { response = await loopFindMaxFlow( from, to,