We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e297368 commit 35895e7Copy full SHA for 35895e7
lib/connect.js
@@ -446,7 +446,7 @@ Connect.prototype.stackInput = function (done) {
446
})
447
.then(function (body) {
448
if (body && body.stack) {
449
- if (body.stack.discrete_variables && body.stack.discrete_variables._version && body.stack.discrete_variables._version >= 3) {
+ if (body.stack.discrete_variables && body.stack.discrete_variables._version && parseInt(body.stack.discrete_variables._version) !== "NaN" && parseInt(body.stack.discrete_variables._version) >= 3) {
450
inputs.site_title = body.stack.name.toLowerCase().replace(regexp, '-');
451
inputs['site_master_language'] = body.stack.master_locale;
452
console.log('\x1b[33m Done.');
0 commit comments