shenshihai 2 жил өмнө
parent
commit
52c98d6a7b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/Utility.php

+ 1 - 1
src/Utility.php

@@ -149,7 +149,7 @@ function replaceMacro(string $filePath,string $targetPath,array $macros){
 	foreach($macros as $key=>$value){
 		$content = str_replace($content,$key,$value);
 	}
-	file_put_contents($targetPath,$content);
+	return file_put_contents($targetPath,$content);
 }
 
 //枚举子目录