Enable more biome lints and fix things
This commit is contained in:
@@ -84,7 +84,7 @@ function escapeHtml(text: string): string {
|
||||
|
||||
function shortenPath(path: string): string {
|
||||
const home = homedir();
|
||||
return path.startsWith(home) ? "~" + path.slice(home.length) : path;
|
||||
return path.startsWith(home) ? `~${path.slice(home.length)}` : path;
|
||||
}
|
||||
|
||||
function replaceTabs(text: string): string {
|
||||
|
||||
Reference in New Issue
Block a user