Skip to content

Commit

Permalink
Merge pull request #41 from liquid-labs/work-liquid-labs/question-and…
Browse files Browse the repository at this point in the history
…-answer/40

Gettin the eval parameters (internal) is modifying initial parameters
  • Loading branch information
zanerock committed Mar 24, 2023
2 parents 39ca992 + 3b1e56f commit a83c09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/questioner.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const Questioner = class {
}

#evalParams() {
return Object.assign(this.#initialParameters, this.values)
return Object.assign({}, this.#initialParameters, this.values)
}

get(parameter) {
Expand Down

0 comments on commit a83c09b

Please sign in to comment.