- adjust placeholder for yml as ${{}} is reserved
This commit is contained in:
+2
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user