[MM-14093] Rename 'team' to 'server' and 'tab' to 'view' in most cases, some additional cleanup (#2711)
* Rename MattermostTeam -> UniqueServer, MattermostTab -> UniqueView * Rename 'team' to 'server' * Some further cleanup * Rename weirdly named function * Rename 'tab' to 'view' in most instances * Fix i18n * PR feedback
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
const buildConfig = require('../dist/buildConfig');
|
||||
|
||||
function validateBuildConfig(config) {
|
||||
if (config.enableServerManagement === false && config.defaultTeams && config.defaultTeams.length === 0) {
|
||||
if (config.enableServerManagement === false && config.defaultServers && config.defaultServers.length === 0) {
|
||||
return {
|
||||
result: false,
|
||||
message: `Specify at least one server for "defaultTeams" in buildConfig.js when "enableServerManagement is set to false.\n${JSON.stringify(config, null, 2)}`,
|
||||
message: `Specify at least one server for "defaultServers" in buildConfig.js when "enableServerManagement is set to false.\n${JSON.stringify(config, null, 2)}`,
|
||||
};
|
||||
}
|
||||
return {result: true};
|
||||
|
Reference in New Issue
Block a user