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

Commit ef0f0ba

Browse files
sis0k0SvetoslavTsenov
authored andcommitted
fix: default value for args for safeGet function
1 parent 5fcfc80 commit ef0f0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nsCliHelpers.js

Lines changed: 1 addition & 1 deletion
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)