Skip to content

Commit 61bdf82

Browse files
committed
improve log message
1 parent a3124e5 commit 61bdf82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const factory = (options: PluginOptions) => {
6767
//
6868
}
6969

70-
log.info(`monorepoRoot: ${monorepoRoot}`)
70+
log.info(`monorepoRoot: ${monorepoRoot ? monorepoRoot.dir : '(none)'}`)
7171

7272
// e.g. if we are in a monorepo, but running vitest at the cwd of the package, we don't want to seek down from there and swap the tsconfig.json files
7373
const isAtMonoRepoRoot = monorepoRoot !== undefined && monorepoRoot.dir === root

0 commit comments

Comments
 (0)