aboutsummaryrefslogtreecommitdiff
path: root/website/scripts/docs-snapshot.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'website/scripts/docs-snapshot.mjs')
-rw-r--r--website/scripts/docs-snapshot.mjs10
1 files changed, 1 insertions, 9 deletions
diff --git a/website/scripts/docs-snapshot.mjs b/website/scripts/docs-snapshot.mjs
index 6a1d1bc6..b85557a1 100644
--- a/website/scripts/docs-snapshot.mjs
+++ b/website/scripts/docs-snapshot.mjs
@@ -36,15 +36,7 @@ export function gitTreesEqual(git, ref, left, right) {
}
export function listGitEntries(git, ref, root) {
- const output = git([
- 'ls-tree',
- '-r',
- '-z',
- '--format=%(objectmode) %(objecttype) %(objectname)%x09%(path)',
- ref,
- '--',
- root,
- ]);
+ const output = git(['ls-tree', '-r', '-z', ref, '--', root]);
return output
.split('\0')
.filter(Boolean)