瀏覽代碼

Handle 0.7.3 using Album instead of Release for CD metadata

tags/v0.8.6
itismadness 5 年之前
父節點
當前提交
deb198445d
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: EC2A9E983E627E47
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/Logchecker.php

+ 2
- 2
src/Logchecker.php 查看文件

@@ -167,8 +167,8 @@ class Logchecker {
// Whipper 0.7.x has an issue where it can produce invalid YAML
// as it hand writes out the values without dealing properly
// with the escaping the output, so we fix that here
$log = preg_replace_callback('/^ Release: (.+)$/m', function ($match) {
return " Release: ".Yaml::dump($match[1]);
$log = preg_replace_callback('/^ (Release|Album): (.+)$/m', function ($match) {
return " {$match[1]}: ".Yaml::dump($match[2]);
}, $this->Log);

try {


Loading…
取消
儲存