Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e050a57

Browse filesBrowse files
ShubhamurkadeBethGriggs
authored andcommitted
test: replace callback with arrows
PR-URL: #24866 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 9bfbb68 commit e050a57
Copy full SHA for e050a57

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-process-config.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-process-config.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let config = fs.readFileSync(configPath, 'utf8');
4848
config = config.split('\n').slice(1).join('\n');
4949
config = config.replace(/"/g, '\\"');
5050
config = config.replace(/'/g, '"');
51-
config = JSON.parse(config, function(key, value) {
51+
config = JSON.parse(config, (key, value) => {
5252
if (value === 'true') return true;
5353
if (value === 'false') return false;
5454
return value;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.