diff --git a/scripts/helpers/Playlist.js b/scripts/helpers/Playlist.js index 4e8668edd1..5b26b4ac27 100644 --- a/scripts/helpers/Playlist.js +++ b/scripts/helpers/Playlist.js @@ -32,13 +32,9 @@ module.exports = class Playlist { save() { const original = file.read(this.url) - const output = this.toString({ raw: true }) - if (original === output) { - return false - } else { + const output = this.toString() + if (original !== output) { file.create(this.url, output) } - - return true } }