Skip to content

Error if frames folder doesn't exist #6

Open
@abid-mujtaba

Description

@abid-mujtaba

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions