浏览代码

Handle 0.7.3 using Album instead of Release for CD metadata

tags/v0.8.6
itismadness 5 年前
父节点
当前提交
deb198445d
找不到此签名对应的密钥 GPG 密钥 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 {


正在加载...
取消
保存