diff --git a/lib/Operation.php b/lib/Operation.php index fc7f946..34c523b 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -61,7 +61,7 @@ public function __construct(IManager $workflowEngineManager, IJobList $jobList, public function considerScript(Node $node, string $event, array $extra = []) { try { - $this->workflowEngineManager->setFileInfo($node->getStorage(), $node->getPath()); + $this->workflowEngineManager->setFileInfo($node->getStorage(), $node->getInternalPath()); $matches = $this->workflowEngineManager->getMatchingOperations(Operation::class, false); foreach ($matches as $match) { $command = $this->buildCommand($match['operation'], $node, $event, $extra);