Skip to content

Commit 97f3a28

Browse files
committed
fix typo
1 parent 993471f commit 97f3a28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/listFiles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ List all the files in the git index or a commit
1717
```js live
1818
let repo = {fs, dir: '$input((.))'}
1919
// All the files in the previous commit
20-
files = await git.listFiles({...repo, ref: '$input((HEAD))'})
20+
let files = await git.listFiles({...repo, ref: '$input((HEAD))'})
2121
console.log(files)
2222
// All the files in the current staging area
23-
let files = await git.listFiles(repo)
23+
files = await git.listFiles(repo)
2424
console.log(files)
2525
```

0 commit comments

Comments
 (0)