- adjust placeholder for yml as ${{}} is reserved

This commit is contained in:
Mike Penz
2022-07-29 09:30:57 +00:00
committed by GitHub
parent 02b79cb00a
commit f55f49981d
5 changed files with 10 additions and 6 deletions
Generated Vendored
+2 -1
View File
@@ -1928,7 +1928,8 @@ function readConfiguration(filename) {
*/
function parseConfiguration(config) {
try {
const configurationJSON = JSON.parse(config);
// for compatiblity with the `yml` file we require to use `#{{}}` instead of `${{}}` - replace it here.
const configurationJSON = JSON.parse(config.replace(/#{{/g, '${{'));
return configurationJSON;
}
catch (error) {
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long