Skip to content

Commit 8f5c120

Browse files
committed
fix(gen:test): fix copyAsync
1 parent 6398160 commit 8f5c120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/test/test-file-creation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var recursiveReadDir = require('recursive-readdir');
1717

1818
function copyAsync(src, dest) {
1919
return fs.readFileAsync(src)
20-
.then(data => fs.writeFileAsync(data, dest));
20+
.then(data => fs.writeFileAsync(dest, data));
2121
}
2222

2323
describe('angular-fullstack generator', function () {

0 commit comments

Comments
 (0)