Fixing build issue.

This commit is contained in:
mike12345567 2023-07-28 16:08:33 +01:00
parent f6eaa610d0
commit f061426b60
1 changed files with 3 additions and 3 deletions

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 = {