Skip to content

Tries to delete current folder when installing to current folder #7

Description

@theel0ja
~/code/github.com/theel0ja/redom-test   
❯ redom

This utility will initialize a RE:DOM project folder for you.
Just answer these few questions.

Name of the project: (redom-example) redom-test
Relative path where to init: (redom-test) .

Install path: "/Users/eliaso/code/github.com/theel0ja/redom-test"...

Path already exists!
Are you sure you want to replace the existing path?: (n) y
/Users/eliaso/.config/yarn/global/node_modules/redom-cli/bin/redom.js:175
      throw err;
      ^

Error: EINVAL: invalid argument, rmdir '.'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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