Skip to content

Commit

Permalink
Move copy into utils folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JPBlancoDB committed Feb 9, 2019
1 parent 1b869c0 commit ab007b9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/projects/create-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const program = require('commander');
const fs = require('fs');
const copy = require('./copy');
const copy = require('../utils/copy');
const logger = require('../utils/logger');
const currentDir = process.cwd();

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/copy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const sinon = require('sinon');
const expect = require('chai').expect;
const copy = require('../src/projects/copy');
const copy = require('../src/utils/copy');

describe('Copy', function() {
afterEach(function() {
Expand Down
2 changes: 1 addition & 1 deletion test/create-project.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require('fs');
const program = require('commander');
const createProject = require('../src/projects/create-project');
const logger = require('../src/utils/logger');
const copy = require('../src/projects/copy');
const copy = require('../src/utils/copy');

const statSync = value => {
return {
Expand Down

0 comments on commit ab007b9

Please sign in to comment.