Skip to content

Commit

Permalink
Fix side-effect on plop - Fix #1561
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Sep 27, 2024
1 parent ccd2258 commit 9b256a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inquirer/lib/ui/prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const _ = {
pointer = pointer[key];
});
},
get: (obj, path, defaultValue) => {
get: (obj, path = '', defaultValue) => {
const travel = (regexp) =>
String.prototype.split
.call(path, regexp)
Expand Down

0 comments on commit 9b256a5

Please sign in to comment.