Skip to content

Commit 6e3e7e7

Browse files
Update manifests/micro-utilities.json
Co-authored-by: Roman <dev@rman.dev>
1 parent 2b0d0fb commit 6e3e7e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/micro-utilities.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@
358358
"id": "snippet::path-key",
359359
"type": "simple",
360360
"description": "You can use `Object.keys` with `Array.prototype.findLast` to find the case-insensitive `PATH` environment variable key.",
361-
"example": "const pathKey = (env = process.env) => Object.keys(env).findLast((k) => k.toUpperCase() === 'PATH') ?? 'PATH';"
361+
"example": "const pathKey = Object.keys(process.env).findLast((k) => k.toUpperCase() === 'PATH') ?? 'PATH';"
362362
},
363363
"snippet::regexp-copy": {
364364
"id": "snippet::regexp-copy",

0 commit comments

Comments
 (0)