Skip to content
This repository was archived by the owner on Aug 19, 2019. It is now read-only.

Commit 0295b71

Browse files
author
deepsweet
committed
✔️ log only changed paths
1 parent 0469d1c commit 0295b71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ export default (callback) => (input) => {
33
return Promise.all(
44
input.map(file => {
55
return Promise.resolve(callback(file.path)).then(newPath => {
6-
log(newPath);
6+
if (file.path !== newPath) {
7+
log(newPath);
8+
}
79

810
return {
911
path: newPath,

0 commit comments

Comments
 (0)