Skip to content

Commit

Permalink
Restore age logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith123 committed Jun 28, 2024
1 parent d3e1847 commit 4df71da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nodana/nodana-cli",
"version": "0.4.0",
"version": "0.4.1",
"description": "Lightning node infrastructure as a service",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/node/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const print = (nodes: any) => {
console.log(chalk.yellow("ID:"), node.id);
node.name && console.log(chalk.yellow("Name:"), node.name);
console.log(chalk.yellow("Connection Url:"), node.connectionUrl);
console.log(chalk.yellow("Age"), node.age);
console.log(chalk.yellow("Age"), getDurationString(node.age));
console.log(chalk.yellow("Fee"), `${node.fee.toLocaleString()} sats`);
console.log(chalk.yellow("Status"), node.status);
console.log(chalk.yellow("Version"), node.version);
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as commands from "./commands";

const program = new Command();

program.name("nodana-cli").version("0.4.0").description("Nodana CLI");
program.name("nodana-cli").version("0.4.1").description("Nodana CLI");

program
.command("init")
Expand Down

0 comments on commit 4df71da

Please sign in to comment.