Browse Source

Handle 0.7.3 using Album instead of Release for CD metadata

tags/v0.8.6
itismadness 5 years ago
parent
commit
deb198445d
No known key found for this signature in database GPG Key ID: EC2A9E983E627E47
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Logchecker.php

+ 2
- 2
src/Logchecker.php View File

@@ -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…
Cancel
Save