Skip to content

Commit

Permalink
chore(build): Resolve target path for copying files (ngrx#661)
Browse files Browse the repository at this point in the history
Closes ngrx#660
  • Loading branch information
wernert authored and brandonroberts committed Dec 19, 2017
1 parent 8c8b914 commit 95dd2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type BaseFn = (command: string) => string;

export function copy(target: string, destination: string): Promise<void> {
return new Promise((resolve, reject) => {
fsExtra.copy(target, destination, err => {
fsExtra.copy(target, path.resolve(destination), err => {
if (err) return reject(err);
resolve();
});
Expand Down

0 comments on commit 95dd2dc

Please sign in to comment.