We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1e424a commit 802d0a4Copy full SHA for 802d0a4
test/parallel/test-process-config.js
@@ -48,7 +48,7 @@ let config = fs.readFileSync(configPath, 'utf8');
48
config = config.split('\n').slice(1).join('\n');
49
config = config.replace(/"/g, '\\"');
50
config = config.replace(/'/g, '"');
51
-config = JSON.parse(config, function(key, value) {
+config = JSON.parse(config, (key, value) => {
52
if (value === 'true') return true;
53
if (value === 'false') return false;
54
return value;
0 commit comments