Skip to content

Commit c79b7e5

Browse files
committedNov 18, 2020
chore: Add types for isLocalFolder()
1 parent 63896d1 commit c79b7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/lib/detect.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function localFileSuppliedButNotFound(root, file) {
153153
);
154154
}
155155

156-
export function isLocalFolder(root) {
156+
export function isLocalFolder(root: string) {
157157
try {
158158
return fs.lstatSync(root).isDirectory();
159159
} catch (e) {

0 commit comments

Comments
 (0)
Please sign in to comment.