Skip to content

[BUG] Parallel execution command asyncapi generate got error for the SingleFile set True #720

@AayushSaini101

Description

@AayushSaini101

Describe the bug.

Reference to this issue: asyncapi/cli#814 Parallel execution is causing errors for the case of the HTML template when the singleFile=true

Expected behavior

Fix Attempt:

rimraf.sync(cssDir, opts, callback);
Add a check here to validate whether the files have been removed or not to prevent not found errors during the generation

Screenshots

Image

How to Reproduce

Steps to Produce: asyncapi/cli#814 (comment)

🖥️ Device Information [optional]

No response

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions