Skip to content

Commit 60bb9ab

Browse files
meorphismeorphis
andauthored
show construction sign for non-regressing fatal error (#204)
Co-authored-by: meorphis <eric@stainless.com>
1 parent 61fefc0 commit 60bb9ab

5 files changed

Lines changed: 11 additions & 4 deletions

File tree

dist/build.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/merge.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/preview.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/comment.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ function Result({
254254
};
255255
}
256256
return {
257-
ResultIcon: MD.Symbol.WhiteCheckMark,
257+
ResultIcon:
258+
severity === "fatal"
259+
? MD.Symbol.Construction
260+
: MD.Symbol.WhiteCheckMark,
258261
Description: MD.Italic(reason),
259262
};
260263
})();

src/markdown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { dedent as tsdedent } from "ts-dedent";
22

33
export const Symbol = {
44
Bulb: "💡",
5+
Construction: "🚧",
56
Exclamation: "❗",
67
Eyes: "👀",
78
GreenSquare: "🟩",

0 commit comments

Comments
 (0)