diff --git a/src/commands/current/index.ts b/src/commands/current/index.ts index 30a6627..5ce7405 100644 --- a/src/commands/current/index.ts +++ b/src/commands/current/index.ts @@ -9,7 +9,7 @@ export default class Current extends Command { async run() { try { const data = new PearData() - const current = data.current + const current = JSON.stringify(data.current) this.log(current) } catch (error) { this.handleError(error) diff --git a/src/commands/known/index.ts b/src/commands/known/index.ts index 13b8aaf..119c499 100644 --- a/src/commands/known/index.ts +++ b/src/commands/known/index.ts @@ -9,7 +9,7 @@ export default class Known extends Command { async run() { try { const data = new PearData() - const known = data.known + const known = JSON.stringify(data.known) this.log(known) } catch (error) { this.handleError(error)