Skip to content

Commit

Permalink
Update packages/vitest/src/node/cli/cli-api.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma-hawaj authored Aug 27, 2024
1 parent 81cfdab commit 00445ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli/cli-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function formatFilesAsJSON(files: WorkspaceSpec[]) {
})
}

function formatFilesAsString(files: WorkspaceSpec[]) {
function formatFilesAsString(files: WorkspaceSpec[], options: CliOptions) {
return files.map((file) => {
let name = resolve(options.root || process.cwd(), file.moduleId)
if (file.project.name) {
Expand Down

0 comments on commit 00445ab

Please sign in to comment.