Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ask: () => !prompt.history('isShortVersion').value && prompt.history('autoInstall').value
};
conform: function (value) {
return value === prompt.history('Enter a password (no characters will appear)').value
}
}], function (error, result) {
ask: function() {
return prompt.history("lfmEnable").value == "y";
},
default: config.lastfm.secret
ask: () => {
if (savePostingKey !== undefined) return savePostingKey;
else {
return (
prompt
.history("savePostingKey")
.value.toLowerCase()
.substr(0, 1) === "y"
);
}
},
};
before: value => {
if (value) {
return value;
}
let contentDirUrl = prompt.history('contentDir').value;
if (contentDirUrl.indexOf('/') !== contentDirUrl.length - 1) {
contentDirUrl += '/';
}
return `${contentDirUrl}chcp.json`;
}
};
ask: () => prompt.history('ssl').value,
},
ask: () => !prompt.history('isShortVersion').value
};
ask: () => !prompt.history('isShortVersion').value && prompt.history('autoDownload').value
};