We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993471f commit 97f3a28Copy full SHA for 97f3a28
docs/listFiles.md
@@ -17,9 +17,9 @@ List all the files in the git index or a commit
17
```js live
18
let repo = {fs, dir: '$input((.))'}
19
// All the files in the previous commit
20
-files = await git.listFiles({...repo, ref: '$input((HEAD))'})
+let files = await git.listFiles({...repo, ref: '$input((HEAD))'})
21
console.log(files)
22
// All the files in the current staging area
23
-let files = await git.listFiles(repo)
+files = await git.listFiles(repo)
24
25
```
0 commit comments