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

Commit b89f40a

Browse files
committed
add logs
1 parent 2b444b5 commit b89f40a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ function searchForFile(filename) {
109109
return __awaiter(this, void 0, void 0, function* () {
110110
console.log(`searching for ${filename} in ${process.cwd()}`);
111111
const { stdout } = yield (0, execa_1.default)('find', [
112-
`'${process.cwd()}'`,
112+
process.cwd(),
113113
'-name',
114-
`'${filename}'`
114+
filename
115115
]);
116116
console.log(stdout);
117117
const dirs = stdout

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ async function searchForFile (filename:string) {
1919
console.log(`searching for ${filename} in ${process.cwd()}`)
2020

2121
const { stdout } = await execa('find', [
22-
`'${process.cwd()}'`,
22+
process.cwd(),
2323
'-name',
24-
`'${filename}'`
24+
filename
2525
])
2626

2727
console.log(stdout)

0 commit comments

Comments
 (0)