Skip to content

Commit d1fe5e5

Browse files
committed
log changed files
1 parent 8169c26 commit d1fe5e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

if-changed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ const result = child_process
1010
.toString();
1111

1212
if (result) {
13+
console.log(result);
14+
1315
const dirs = result
1416
.split('\n')
1517
.filter(file => file)
1618
.map(file => path.dirname(file));
1719

18-
// console.log(dirs);
19-
2020
for (const dir of dirs) {
2121
if (dir.startsWith(currentPath)) {
2222
process.exit(0);

0 commit comments

Comments
 (0)