Fixing build issue.
This commit is contained in:
parent
f6eaa610d0
commit
f061426b60
|
@ -1,5 +1,5 @@
|
||||||
import { existsSync, readFileSync } from "fs"
|
import { existsSync, readFileSync } from "fs"
|
||||||
import { ServiceName } from "@budibase/types"
|
import { ServiceType } from "@budibase/types"
|
||||||
|
|
||||||
function isTest() {
|
function isTest() {
|
||||||
return isCypress() || isJest()
|
return isCypress() || isJest()
|
||||||
|
@ -85,11 +85,11 @@ function getPackageJsonFields(): {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isWorker() {
|
function isWorker() {
|
||||||
return environment.SERVICE_NAME === ServiceName.WORKER
|
return environment.SERVICE_NAME === ServiceType.WORKER
|
||||||
}
|
}
|
||||||
|
|
||||||
function isApps() {
|
function isApps() {
|
||||||
return environment.SERVICE_NAME === ServiceName.APPS
|
return environment.SERVICE_NAME === ServiceType.APPS
|
||||||
}
|
}
|
||||||
|
|
||||||
const environment = {
|
const environment = {
|
||||||
|
|
Loading…
Reference in New Issue