Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The git-opfs demo throw a TypeError when use the git.statusMatrix method #964

Open
fengyuanchen opened this issue Nov 6, 2023 · 0 comments

Comments

@fengyuanchen
Copy link

  1. Start the git-opfs demo.
  2. Append the following code after line 35 of the main.ts:
const statusMatrix = await git.statusMatrix({
  fs,
  dir: '/repo',
});
console.log('statusMatrix', statusMatrix);
  1. Open https://localhost:9876/.
  2. You will see the error in the console:
TypeError: Failed to execute 'getFileHandle' on 'FileSystemDirectoryHandle': Name is not allowed.

Related issue in isomorphic-git: isomorphic-git/isomorphic-git#1839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant