mirror of https://git.tuxpa.in/a/code-server.git
parent
cb9c5b2d49
commit
85ad7e4fb4
|
@ -348,7 +348,9 @@ export async function readConfigFile(configPath?: string): Promise<Args> {
|
||||||
logger.info(`Wrote default config file to ${humanPath(configPath)}`)
|
logger.info(`Wrote default config file to ${humanPath(configPath)}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!process.env.CODE_SERVER_PARENT_PID) {
|
||||||
logger.info(`Using config file ${humanPath(configPath)}`)
|
logger.info(`Using config file ${humanPath(configPath)}`)
|
||||||
|
}
|
||||||
|
|
||||||
const configFile = await fs.readFile(configPath)
|
const configFile = await fs.readFile(configPath)
|
||||||
const config = yaml.safeLoad(configFile.toString(), {
|
const config = yaml.safeLoad(configFile.toString(), {
|
||||||
|
|
Loading…
Reference in New Issue