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 cd476cc commit aa5da89Copy full SHA for aa5da89
commands/utils/validate.js
@@ -160,6 +160,9 @@ function validateTunnel(configFile) {
160
try {
161
let config = JSON.parse(fs.readFileSync(configFile));
162
tunnelConfig = config.tunnel || {};
163
+ if (tunnelConfig && tunnelConfig.type != "manual") {
164
+ throw new ValidationError('Invalid tunnel type. Accepted type is `manual` only');
165
+ }
166
} catch (error) {
167
console.log('[smartui] Error: ', error.message);
168
process.exit(constants.ERROR_CATCHALL);
0 commit comments