Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
do not expand non string when values
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed May 7, 2020
1 parent 61e2738 commit 3d3ef71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/init/src/services/ConfigService.js
Expand Up @@ -97,7 +97,7 @@ export const ConfigService = {
value: "",
negate: false,
};
if (!when) {
if (!when || typeof when !== "string") {
return expanded;
}
const parts = when.split("=");
Expand Down

0 comments on commit 3d3ef71

Please sign in to comment.