Skip to content

Commit 37086b6

Browse files
committed
Merge branch 'dev'
2 parents 8c61eee + 9d68b33 commit 37086b6

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@raja-rakoto/taskmaster-cli",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Interactive CLI for Taskmaster AI: simplifies complex project management by orchestrating AI agents, planning, and execution — all from your terminal 🧩",
55
"author": "Raja Rakotonirina <raja.rakoto7@gmail.com>",
66
"license": "MIT",

src/constants/embedded-font.ts

Lines changed: 6 additions & 0 deletions
Large diffs are not rendered by default.

src/utils/ascii.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ import chalk from "chalk";
66
import pkg from "../../package.json";
77

88
/* constants */
9-
import { DEV_MODE, FONT_PATH, GITHUB_URL } from "@/constants";
10-
11-
/* utils */
12-
import { resolveRealPathAsync, readFileAsync } from "@/utils/extras";
9+
import { DEV_MODE, GITHUB_URL } from "@/constants";
10+
import { getEmbeddedFont } from "@/constants/embedded-font";
1311

1412
// ==============================
1513

@@ -22,10 +20,7 @@ export async function bannerRendererAsync(
2220
title: string,
2321
description: string,
2422
): Promise<string> {
25-
const fontSource = DEV_MODE
26-
? FONT_PATH
27-
: await resolveRealPathAsync(FONT_PATH);
28-
const font = await readFileAsync(fontSource, "utf8");
23+
const font = getEmbeddedFont();
2924
figlet.parseFont("StandardFont", font);
3025

3126
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)