Skip to content

Commit c80a9c3

Browse files
authored
chore(deps): update @rslint/core to v0.5.0 (#205)
1 parent d6f34d9 commit c80a9c3

3 files changed

Lines changed: 34 additions & 32 deletions

File tree

client-src/utils/ansiHTML.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ export default function ansiHTML(text: string) {
194194

195195
// Make sure tags are closed.
196196
const l = ansiCodes.length;
197-
l > 0 && (ret += Array(l + 1).join('</span>'));
197+
if (l > 0) {
198+
ret += Array(l + 1).join('</span>');
199+
}
198200

199201
return ret;
200202
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@hono/node-server": "^1.19.14",
5353
"@microsoft/api-extractor": "^7.58.2",
5454
"@rslib/core": "^0.21.1",
55-
"@rslint/core": "^0.4.2",
55+
"@rslint/core": "^0.5.0",
5656
"@rspack/core": "2.0.0-rc.0",
5757
"@rspack/plugin-react-refresh": "1.6.2",
5858
"@rstest/core": "^0.9.7",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)