Skip to content

Commit d293848

Browse files
fix(cli): js icon in tauri info (#14261)
1 parent 19fb6f7 commit d293848

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changes/fix-js-icon-tauri-info.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:bug
3+
"@tauri-apps/cli": patch:bug
4+
---
5+
6+
Replaced the non-standard nerd font character with ` ⱼₛ` in `tarui info`

crates/tauri-cli/src/info/packages_nodejs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,12 @@ pub fn nodejs_section_item(
169169
.unwrap_or_default();
170170

171171
if version.is_empty() {
172-
format!("{} {}: not installed!", package, "".green())
172+
format!("{} {}: not installed!", package, " ⱼₛ".black().on_yellow())
173173
} else {
174174
format!(
175175
"{} {}: {}{}",
176176
package,
177-
"".dimmed(),
177+
" ⱼₛ".black().on_yellow(),
178178
version,
179179
if !(version.is_empty() || latest_ver.is_empty()) {
180180
let version = semver::Version::parse(version.as_str()).unwrap();

0 commit comments

Comments
 (0)