nachoaldamav / ultra

JavaScript package manager
https://ultrapkg.dev/
MIT License
566 stars 15 forks source link

`init` command gets whole path in `name` field #134

Closed max-programming closed 2 years ago

max-programming commented 2 years ago

Provide installed version

[Ultra] v0.7.5 (53.67ms)

Current platform

Windows

Describe the Bug

When I run ultra init -y command, it fills the package.json file's name field as the path of the folder instead of just the name of the folder

image

Expected Behavior

It should fill just the name of the folder instead of the whole path

image

Template command (if applicable)

ultra init -y

To Reproduce

Run the command: ultra init -y

nachoaldamav commented 2 years ago

Thanks for that fix!!