Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 9816355

Browse files
author
Jeff Dickey
committed
flow fix
1 parent 37bbd1d commit 9816355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/duration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @ flow
1+
// @flow
22

33
import Command from 'cli-engine-command'
44
import DurationMixin from '../mixins/duration'
@@ -9,6 +9,6 @@ export default class extends DurationMixin(Command) {
99
static description = 'this is an example command showing duration parsing'
1010

1111
run () {
12-
this.log(`duration: ${this.duration}`)
12+
this.log(`duration: ${this.duration.toString()}`)
1313
}
1414
}

0 commit comments

Comments
 (0)