Only transform list of lines into string at end of prettifyIR, since otherwise we concat an array with a string

This commit is contained in:
Juhani Krekelä 2018-05-24 23:05:59 +03:00
parent e046d187ae
commit 31d5bbbdeb
1 changed files with 2 additions and 2 deletions

4
gir.js
View File

@ -217,9 +217,9 @@ function prettifyIR(parsed) {
}
}
return lines.join('\n');
return lines
}
return worker(parsed);
return worker(parsed).join('\n');
}
// ------------------------------------------------------------------