Skip to content

create-astro new lines after directy is not empty error #31

@Dezaku

Description

@Dezaku

Astro Info

Its a create-astro bug, but I'm gonna send my system informations since I'm using the Windows Command Line.
Windows 11
Version 22H2
Build 22621.2428

If this issue only occurs in one browser, which browser is a problem?

/

Describe the Bug

When doing npm create astro@latest and giving the input ./ as directory when the one you are in is not empty, it will give you an error "directory is not empty". When then typing some other characters, there will always be a new line created, if you first delete a character after the error and then type some new ones, there won't be new lines created.

What's the expected result?

Just staying on the same line without creating new ones

Link to Minimal Reproducible Example

create-astro bug

Participation

  • I am willing to submit a pull request for this issue.

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