Skip to content

Commit

Permalink
fix es-shim dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Nov 24, 2014
1 parent 58f155d commit ca22fc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function print(type, msg, obj, colors) {
}

if (typeof(str) === 'string') {
if (!colors || str.contains('\n')) {
if (!colors || str.includes('\n')) {
return str
} else if (is_error) {
return '\033[31m' + str + '\033[39m'
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies:
cookies: '>=0.5.0 <1.0.0-0'
request: '>=2.31.0 <3.0.0-0'
async: '>=0.9.0 <1.0.0-0'
es6-shim: '>=0.20 <1.0.0-0'
es6-shim: '0.21.x'

# 2.x and 3.x have the same interface
semver: '>=2.2.1 <4.0.0-0'
Expand Down

0 comments on commit ca22fc4

Please sign in to comment.