Skip to content

Commit d876791

Browse files
committed
- Dependency Update
1 parent 92c15cf commit d876791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"php": ">=5.3.0",
1414
"js-phpize/js-phpize": "^1.10.0",
15-
"phug/compiler": "^0.2.1"
15+
"phug/compiler": "^0.3.0"
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": ">=4.8 <6.0",

src/JsPhpize/JsPhpizePhug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(ModuleContainerInterface $compiler)
4949
$pugModuleName = $formatter->getOption('dependencies_storage');
5050
$code = str_replace('$' . $pugModuleName, $pugModuleName, $jsCode);
5151

52-
$compilation = $this->compile($jsPhpize, $code, $compiler->getFileName());
52+
$compilation = $this->compile($jsPhpize, $code, $compiler->getPath());
5353

5454
if (!($compilation instanceof Exception)) {
5555
return $compilation;

0 commit comments

Comments
 (0)