Skip to content

Commit 2897016

Browse files
committed
fix(cli): clarify comment for package.json import in CLI
- Updated the comment in `cli.ts` to specify that the package.json version is imported for display in the CLI version output, enhancing code clarity.
1 parent 40b2507 commit 2897016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { DevServer } from './dev-server.ts';
99
import openBrowser from './open-browser.ts';
1010
import { getAvailablePort } from './port-utils.ts';
1111

12-
// Importar versão do package.json
12+
// Importar versão do package.json para exibir na versão do CLI
1313
const packageJson = JSON.parse(await fs.readFile(path.join(import.meta.dir, '../package.json'), 'utf-8'));
1414

1515
const program = new Command();

0 commit comments

Comments
 (0)