Skip to content

Commit 20d7ea1

Browse files
committed
Updated header comment. [skip ci]
1 parent e16850a commit 20d7ea1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/doxdox-core/src/utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import { fileURLToPath } from 'url';
99
import { Package } from './types';
1010

1111
/**
12-
* Finds package.json from either the directory the script was called from or a supplied path.
12+
* Finds file in path.
1313
*
14-
* console.log(await findFileInPath('./'));
15-
* console.log(await findFileInPath('./package.json'));
16-
* console.log(await findFileInPath('~/git/github/doxdox/'));
14+
* console.log(await findFileInPath('./', 'package.json'));
15+
* console.log(await findFileInPath('../', 'package.json'));
16+
* console.log(await findFileInPath('~/git/github/doxdox/', '.package.json'));
1717
*
1818
* @param {string} [input] Directory to check for file.
1919
* @param {string?} [fileName = 'package.json'] File name to check for.

0 commit comments

Comments
 (0)