Skip to content

Commit

Permalink
Fix process.env
Browse files Browse the repository at this point in the history
  • Loading branch information
llunaCreixent committed Mar 29, 2023
1 parent 051948b commit 220d5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/findPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 220d5bc

Please sign in to comment.