Skip to content

Commit

Permalink
Use fs-extra instead of ncp for copying
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreeman committed Mar 4, 2018
1 parent 2747452 commit 623eba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/git.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/* jshint node: true */

var fs = require('fs-extra');
var RSVP = require('rsvp');
var run = require('./run');
var stat = RSVP.denodeify(fs.stat);
var copy = RSVP.denodeify(require('ncp').ncp);
var stat = fs.stat;
var copy = fs.copy;

function supportsWorktree() {
return run('git', ['help', 'worktree']).then(function() {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"ember-cli-babel": "^6.11.0",
"ember-cli-deploy-plugin": "^0.2.9",
"fs-extra": "^5.0.0",
"ncp": "^2.0.0",
"rsvp": "^4.8.1"
},
"ember-addon": {
Expand Down

0 comments on commit 623eba6

Please sign in to comment.