renamed env variable to TABBY_CONFIG_DIRECTORY

This commit is contained in:
Nathaniel Walser
2023-10-03 08:06:16 +02:00
parent d1a837b11d
commit bd31db9c56
3 changed files with 4 additions and 4 deletions

View File

@@ -4,8 +4,8 @@ import * as yaml from 'js-yaml'
import { writeFile } from 'atomically'
export const configPath = path.join(process.env.CONFIG_DIRECTORY!, 'config.yaml')
const legacyConfigPath = path.join(process.env.CONFIG_DIRECTORY!, '../terminus', 'config.yaml')
export const configPath = path.join(process.env.TABBY_CONFIG_DIRECTORY!, 'config.yaml')
const legacyConfigPath = path.join(process.env.TABBY_CONFIG_DIRECTORY!, '../terminus', 'config.yaml')
export function migrateConfig (): void {