Prevent linter long line warning

This commit is contained in:
Juan Cruz Viotti 2015-02-06 11:11:38 -04:00
parent b3f1e94257
commit e769fdc205

View File

@ -113,7 +113,8 @@ exports.install =
(device, callback) ->
params.device = device
visuals.patterns.confirm(options.yes, "This will completely erase #{params.device}. Are you sure you want to continue?", callback)
message = "This will completely erase #{params.device}. Are you sure you want to continue?"
visuals.patterns.confirm(options.yes, message, callback)
(confirmed, callback) ->
return done() if not confirmed