From a317b50a3ba5eca74154dfd1da78df9e281ef90f Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 6 Mar 2019 12:23:27 +0100 Subject: [PATCH] providing internal path fixes resolving tags, file types, etc. Signed-off-by: Arthur Schiwon --- lib/Operation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);