mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix git hash display
This commit is contained in:
committed by
Keagan McClelland
parent
4f2b237f5f
commit
7ac139c856
@@ -1,8 +1,8 @@
|
|||||||
export type WorkspaceConfig = {
|
export type WorkspaceConfig = {
|
||||||
|
gitHash: string
|
||||||
useMocks: boolean
|
useMocks: boolean
|
||||||
// each key corresponds to a project and values adjust settings for that project, eg: ui, setup-wizard, diagnostic-ui
|
// each key corresponds to a project and values adjust settings for that project, eg: ui, setup-wizard, diagnostic-ui
|
||||||
ui: {
|
ui: {
|
||||||
gitHash: string
|
|
||||||
patchDb: {
|
patchDb: {
|
||||||
poll: {
|
poll: {
|
||||||
cooldown: number /* in ms */
|
cooldown: number /* in ms */
|
||||||
|
|||||||
@@ -8,8 +8,9 @@ import {
|
|||||||
import { WorkspaceConfig } from '@shared'
|
import { WorkspaceConfig } from '@shared'
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
gitHash,
|
||||||
useMocks,
|
useMocks,
|
||||||
ui: { gitHash, patchDb, api, mocks, marketplace },
|
ui: { patchDb, api, mocks, marketplace },
|
||||||
} = require('../../../../../config.json') as WorkspaceConfig
|
} = require('../../../../../config.json') as WorkspaceConfig
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
|
|||||||
Reference in New Issue
Block a user