1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Fixing build issue.

This commit is contained in:
mike12345567 2023-07-28 16:08:33 +01:00
parent f6eaa610d0
commit f061426b60

View file

@ -1,5 +1,5 @@
import { existsSync, readFileSync } from "fs"
import { ServiceName } from "@budibase/types"
import { ServiceType } from "@budibase/types"
function isTest() {
return isCypress() || isJest()
@ -85,11 +85,11 @@ function getPackageJsonFields(): {
}
function isWorker() {
return environment.SERVICE_NAME === ServiceName.WORKER
return environment.SERVICE_NAME === ServiceType.WORKER
}
function isApps() {
return environment.SERVICE_NAME === ServiceName.APPS
return environment.SERVICE_NAME === ServiceType.APPS
}
const environment = {