mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Introduce isStagingServer util method
This commit is contained in:
@@ -5,7 +5,7 @@ import { getEnvironment, Environment } from '../environment';
|
||||
import * as log from '../logging/log';
|
||||
|
||||
export function deprecated(message?: string): void {
|
||||
if (getEnvironment() === Environment.Development) {
|
||||
if (getEnvironment() !== Environment.PackagedApp) {
|
||||
log.error(`This method is deprecated: ${message}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user