mirror of
https://github.com/kmvan/x-prober.git
synced 2026-04-22 01:08:59 +08:00
rewrite project
This commit is contained in:
@@ -12,7 +12,7 @@ final class ScriptGeneration
|
||||
{
|
||||
[
|
||||
'scriptFilePath' => $this->scriptFilePath,
|
||||
'distFilePath' => $this->distFilePath,
|
||||
'distFilePath' => $this->distFilePath,
|
||||
] = $args;
|
||||
|
||||
if ( ! is_file($this->scriptFilePath)) {
|
||||
@@ -43,7 +43,7 @@ final class ScriptGeneration
|
||||
return false;
|
||||
}
|
||||
|
||||
$dist = str_replace('{INN_SCRIPT}', $script, $dist);
|
||||
$dist = str_replace('{{X_SCRIPT}}', $script, $dist);
|
||||
|
||||
return (bool) file_put_contents($this->distFilePath, $dist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user