Skip to content

Commit

Permalink
Merge pull request #14 from atsjj/fix-deprecation-promise
Browse files Browse the repository at this point in the history
Fix `ember-cli/ext/promise` Deprecation for Ember CLI >=2.12.0
  • Loading branch information
arenoir authored Mar 17, 2017
2 parents d2b9120 + 305c066 commit 8fc467b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* jshint node: true */
'use strict';

var Promise = require('ember-cli/lib/ext/promise');
var Promise = require('rsvp').Promise;
var DeployPluginBase = require('ember-cli-deploy-plugin');
var path = require('path');
var os = require('os');
Expand Down
4 changes: 2 additions & 2 deletions lib/ssh-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'use strict';

var CoreObject = require('core-object');
var Promise = require('ember-cli/lib/ext/promise');
var Promise = require('rsvp').Promise;
var SSH2Client = require('ssh2').Client;
var fs = require('fs');
var untildify = require('untildify');
Expand Down Expand Up @@ -131,4 +131,4 @@ module.exports = CoreObject.extend({
);
});
}
});
});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
"core-object": "^1.1.0",
"ember-cli-deploy-plugin": "^0.2.9",
"lodash": "^3.10.1",
"untildify": "^2.1.0",
"node-fs": "^0.1.7",
"rsvp": "^3.5.0",
"ssh2": "^0.5.0",
"untildify": "^2.1.0",
"username": "^1.0.1"
},
"devDependencies": {
Expand Down

0 comments on commit 8fc467b

Please sign in to comment.