Skip to content

Commit

Permalink
providing internal path fixes resolving tags, file types, etc.
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Mar 6, 2019
1 parent 79be9a0 commit 13df48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Operation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 13df48d

Please sign in to comment.