Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 916d8f9

Browse files
committed
fix: default value for args for safeGet function
1 parent 4f7a93d commit 916d8f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nsCliHelpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function getNsCli() {
2020
return cli;
2121
}
2222

23-
function safeGet(object, property, args) {
23+
function safeGet(object, property, args = []) {
2424
if (!object) {
2525
return;
2626
}

0 commit comments

Comments
 (0)