Skip to content

Commit

Permalink
use cpr over ncp
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Jun 2, 2015
1 parent 3b16bac commit 6824d7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -88,6 +88,7 @@
"concat-stream": "^1.4.7",
"configstore": "0.3.2",
"core-object": "0.0.2",
"cpr": "^0.4.1",
"debug": "^2.1.3",
"diff": "^1.3.1",
"ember-cli-copy-dereference": "^1.0.0",
Expand Down Expand Up @@ -139,7 +140,6 @@
"chai-as-promised": "^4.3.0",
"codeclimate-test-reporter": "0.0.4",
"coveralls": "^2.11.2",
"ember-cli-ncp": "1.0.2",
"istanbul": "^0.3.13",
"mocha": "^2.2.1",
"mocha-jshint": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/acceptance.js
Expand Up @@ -7,7 +7,7 @@ var runCommand = require('./run-command');
var Promise = require('../../lib/ext/promise');
var tmp = require('./tmp');
var conf = require('./conf');
var copy = Promise.denodeify(require('ember-cli-ncp'));
var copy = Promise.denodeify(require('cpr'));
var root = process.cwd();

var onOutput = {
Expand Down
4 changes: 2 additions & 2 deletions tests/helpers/copy-fixture-files.js
Expand Up @@ -2,12 +2,12 @@

var path = require('path');
var Promise = require('../../lib/ext/promise');
var ncp = Promise.denodeify(require('ember-cli-ncp'));
var copy = Promise.denodeify(require('cpr'));

var rootPath = process.cwd();

module.exports = function copyFixtureFiles(sourceDir) {
return ncp(path.join(rootPath, 'tests', 'fixtures', sourceDir), '.', {
return copy(path.join(rootPath, 'tests', 'fixtures', sourceDir), '.', {
clobber: true,
stopOnErr: true
});
Expand Down

0 comments on commit 6824d7d

Please sign in to comment.