Skip to content

Commit

Permalink
feat: set type=prepare for steps about prepare renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsieh Chin Fan committed Oct 1, 2024
1 parent 6bc06ea commit 2959cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapclay.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const runBySteps = renderer =>
// Save non-fail result
.then(result =>
renderer.results.push({
type: "step",
type: "render",
func: func.valueOf(),
state: result?.state ? result?.state : "success",
result,
Expand All @@ -210,7 +210,7 @@ const runBySteps = renderer =>
// Save fail result
.catch(err =>
renderer.results.push({
type: "step",
type: "render",
func: func.valueOf(),
state: "fail",
result: err,
Expand Down

0 comments on commit 2959cd2

Please sign in to comment.