From f25d59278218326ca242100e71fcf9b85e99f876 Mon Sep 17 00:00:00 2001 From: Luke Melia Date: Sat, 24 Oct 2015 22:38:38 -0400 Subject: [PATCH] Update to use new verbose option for logging --- index.js | 4 ++-- package.json | 2 +- tests/unit/index-nodetest.js | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 65f0b6a..56d2ff3 100644 --- a/index.js +++ b/index.js @@ -30,10 +30,10 @@ module.exports = { plugin: this }); - this.log('creating revision data using `' + type + '`'); + this.log('creating revision data using `' + type + '`', { verbose: true }); return dataGenerator.generate() .then(function(data) { - self.log('generated revision data for revision: `' + data.revisionKey + '`'); + self.log('generated revision data for revision: `' + data.revisionKey + '`', { verbose: true }); return data; }) .then(function(data) { diff --git a/package.json b/package.json index 3e15664..e1af96c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "chalk": "^1.0.0", "core-object": "^1.1.0", "ember-cli-babel": "^5.0.0", - "ember-cli-deploy-plugin": "0.1.3", + "ember-cli-deploy-plugin": "0.2.0", "git-repo-info": "^1.1.2", "minimatch": "^2.0.4", "rsvp": "^3.0.18" diff --git a/tests/unit/index-nodetest.js b/tests/unit/index-nodetest.js index 80dc2d4..a65f3c9 100644 --- a/tests/unit/index-nodetest.js +++ b/tests/unit/index-nodetest.js @@ -8,6 +8,7 @@ describe('the index', function() { beforeEach(function() { subject = require('../../index'); mockUi = { + verbose: true, messages: [], write: function() { }, writeLine: function(message) {