Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Dec 29, 2015
1 parent 2ba899d commit 0091b95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/Bumped.animation.coffee
Expand Up @@ -21,7 +21,6 @@ module.exports = class Animation
shortcut = TYPE_SHORTCUT[@type]
process.stdout.write '\n' if @type is 'postrelease'

name = @plugin.replace /bumped-/, ''
@logger.keyword = "#{chalk.magenta(shortcut)} #{@logger.keyword}"
@logger.success "Starting '#{chalk.cyan(@text)}'..."

Expand Down
6 changes: 3 additions & 3 deletions lib/Bumped.util.coffee
Expand Up @@ -21,8 +21,8 @@ module.exports = class Util
updateJSON: (opts, cb) ->
filepath = path.resolve opts.filename
file = require filepath
firstChar = opts.value.charAt(0);
lastChar = opts.value.charAt(opts.value.length - 1);
firstChar = opts.value.charAt(0)
lastChar = opts.value.charAt(opts.value.length - 1)
isArray = (firstChar is '[') and (lastChar is ']')
isDotProp = opts.property.split('.').length > 1

Expand All @@ -32,7 +32,7 @@ module.exports = class Util
items = items.map (item) -> item.trim()
file[opts.property] = items
else if isDotProp
dotProp.set(file, opts.property, opts.value);
dotProp.set(file, opts.property, opts.value)
else
file[opts.property] = opts.value

Expand Down

0 comments on commit 0091b95

Please sign in to comment.