Skip to content

Commit 8b07660

Browse files
committed
Remove duplicate log
Also confirmed that #1750 is fixed.
1 parent a172207 commit 8b07660

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/node/cli.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,9 @@ export async function readConfigFile(configPath?: string): Promise<Args> {
348348
logger.info(`Wrote default config file to ${humanPath(configPath)}`)
349349
}
350350

351-
logger.info(`Using config file ${humanPath(configPath)}`)
351+
if (!process.env.CODE_SERVER_PARENT_PID) {
352+
logger.info(`Using config file ${humanPath(configPath)}`)
353+
}
352354

353355
const configFile = await fs.readFile(configPath)
354356
const config = yaml.safeLoad(configFile.toString(), {

0 commit comments

Comments
 (0)