fix issues in adapters
This commit is contained in:
@@ -163,12 +163,6 @@ export function loadAutomationConfig(): AutomationEnvironmentConfig {
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Type guard to validate automation mode string.
|
||||
*/
|
||||
function isValidAutomationMode(value: string | undefined): value is AutomationMode {
|
||||
return value === 'production' || value === 'development' || value === 'test';
|
||||
}
|
||||
|
||||
/**
|
||||
* Type guard to validate legacy automation mode string.
|
||||
|
||||
Reference in New Issue
Block a user