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

Error if frames folder doesn't exist #6

Open
abid-mujtaba opened this issue Dec 29, 2022 · 0 comments · May be fixed by #7
Open

Error if frames folder doesn't exist #6

abid-mujtaba opened this issue Dec 29, 2022 · 0 comments · May be fixed by #7

Comments

@abid-mujtaba
Copy link
Contributor

Running the tool in a location where the frames/ sub-folder doesn't already exists results in the following error:

[Error: ENOENT: no such file or directory, stat './/frames'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: './/frames'
}

This is probably caused by the fs.rmdir call on this line. The likely fix is to first check for existence before the folder is removed.

@abid-mujtaba abid-mujtaba linked a pull request Dec 29, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant