mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-26 08:38:58 -04:00
Delete unused file
This commit is contained in:
1 parent
7c81d8944b
commit
c09a4e4841
1 file changed
-33
@@ -1,33 +0,0 @@
|
||||
import * as packageJSON from '../package.json';
|
||||
|
||||
export function getAppVersion () {
|
||||
return packageJSON.version;
|
||||
}
|
||||
|
||||
export function getAppLongName () {
|
||||
return packageJSON.longName;
|
||||
}
|
||||
|
||||
export function getAppName () {
|
||||
return packageJSON.productName;
|
||||
}
|
||||
|
||||
export function getAppPlatform () {
|
||||
return process.platform;
|
||||
}
|
||||
|
||||
export function getAppEnvironment () {
|
||||
return process.env.INSOMNIA_ENV || 'unknown';
|
||||
}
|
||||
|
||||
export function isMac () {
|
||||
return getAppPlatform() === 'darwin';
|
||||
}
|
||||
|
||||
export function isDevelopment () {
|
||||
return getAppEnvironment() === 'development';
|
||||
}
|
||||
|
||||
export function getClientString () {
|
||||
return `${getAppEnvironment()}::${getAppPlatform()}::${getAppVersion()}`
|
||||
}
|
||||
Reference in new issue
Block a user