We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5cc17fd + ddd92e9 commit 02a3fd4Copy full SHA for 02a3fd4
src/NodejsPhpFallback/Uglify.php
@@ -88,7 +88,8 @@ public function compile()
88
{
89
$language = $this->getMode();
90
list($programDirectory, $programFile) = $this->programs[$language];
91
- $name = $this->path ? basename($this->path) : null;
+ $path = $this->getPath();
92
+ $name = $path ? basename($path) : null;
93
94
$path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . $name;
95
file_put_contents($path, $this->getSource());
0 commit comments