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

Commit

Permalink
Merge pull request #1113 from replicatedhq/do-not-expand-non-string-w…
Browse files Browse the repository at this point in the history
…hen-values

Do not expand non string when values
  • Loading branch information
sgalsaleh committed May 7, 2020
2 parents 61e2738 + fe7038e commit 3744e2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/init/package.json
@@ -1,6 +1,6 @@
{
"name": "@replicatedhq/ship-init",
"version": "1.6.20",
"version": "1.6.21",
"description": "Shared component that contains the Ship Init app",
"author": "Replicated, Inc.",
"license": "Apache-2.0",
Expand Down
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 3744e2b

Please sign in to comment.