Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit 9ac8fab

Browse files
committed
remove logs
1 parent b89f40a commit 9ac8fab

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

dist/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,13 @@ function searchForFile(filename) {
113113
'-name',
114114
filename
115115
]);
116-
console.log(stdout);
117116
const dirs = stdout
118117
.split('\n')
119118
.filter(s => s.length > 0)
120119
// remove the file name
121120
.map((filename) => path.dirname(filename))
122121
// map to absolute path
123122
.map((pathname) => path.resolve(process.cwd(), pathname));
124-
console.log(dirs);
125123
return dirs;
126124
});
127125
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ async function searchForFile (filename:string) {
2424
filename
2525
])
2626

27-
console.log(stdout)
28-
2927
const dirs = stdout
3028
.split('\n')
3129
.filter(s => s.length > 0)
@@ -34,8 +32,6 @@ async function searchForFile (filename:string) {
3432
// map to absolute path
3533
.map((pathname) => path.resolve(process.cwd(), pathname))
3634

37-
console.log(dirs)
38-
3935
return dirs
4036
}
4137

0 commit comments

Comments
 (0)