Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/tools/TypeSpecValidation/src/rules/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class FormatRule implements Rule {
async execute(folder: string): Promise<RuleResult> {
// Format parent folder to include shared files

let [err, stdOutput, errorOutput] = await runCmd(`npx tsp format ../**/*.tsp`, folder);
let [err, stdOutput, errorOutput] = await runCmd(`npx tsp format "../**/*.tsp"`, folder);
// Failing on both err and errorOutput because of known bug in tsp format where it returns 0 on failed formatting
// https://github.com/microsoft/typespec/issues/2323
let success = !err && !errorOutput;
Expand Down