Skip to content

Commit

Permalink
Use user requested for both UserSpecified and UserRequested
Browse files Browse the repository at this point in the history
  • Loading branch information
mw-kapilg committed Aug 22, 2024
1 parent 5ee1137 commit 8e77637
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export function interpretSkipReason(skipReason: string){
case "UpToDate":
return "up-to-date";
case "UserSpecified":
return "user specified";
case "UserRequested":
return "user requested";
case "DependencyFailed":
Expand Down
2 changes: 1 addition & 1 deletion src/buildSummary.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('summaryGeneration', () => {

expect(result).toEqual([
['Task 1', '🔴 Failed', 'Task 1 description', '00:00:10'],
['Task 2', '🔵 Skipped (user specified)', 'Task 2 description', '00:00:20'],
['Task 2', '🔵 Skipped (user requested)', 'Task 2 description', '00:00:20'],
['Task 3', '🟢 Success', 'Task 3 description', '00:00:30']
]);
});
Expand Down

0 comments on commit 8e77637

Please sign in to comment.