Skip to content

Commit

Permalink
Drop repeat-string dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Sep 29, 2016
1 parent 1aa6461 commit dfe30f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions lib/Default.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ chalk = require 'chalk'
formatUtil = require './Format'
stripAnsi = require 'strip-ansi'
CONST = require './Constants'
repeat = require 'repeat-string'

module.exports =
print: ->
Expand All @@ -15,7 +14,7 @@ module.exports =
decorateCounter: (counter) ->
str = '' + counter
n = CONST.DECORATE_COUNTER_ZERO_N - str.length
return repeat('0', n) + str if n > 0
return '0'.repeat(n) + str if n > 0
str

outputMessage: (message) -> message
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"coffee-script": "~1.10.0",
"lodash.defaults": "~4.0.1",
"ms": "~0.7.1",
"repeat-string": "~1.5.4",
"strip-ansi": "~3.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit dfe30f2

Please sign in to comment.