Skip to content

Commit

Permalink
Obey type safety
Browse files Browse the repository at this point in the history
This probably isn't what I ultimately want, but it does pass the linter.
  • Loading branch information
jonallured committed Jan 21, 2019
1 parent 1257faa commit 59857b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/current/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/known/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 59857b7

Please sign in to comment.