-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened:
kratos new .
will remove the parent directory of the .
.
What you expected to happen:
Don't remove other content under the ..
(and generate the codes under the current working directory)
How to reproduce it (as minimally and precisely as possible):
mkdir -p /tmp/aa/bb && mkdir -p /tmp/aa/cc
cd /tmp/aa/bb && kratos new .
kratos will remove /tmp/aa
and move the cloned template to /tmp/aa
Anything else we need to know?:
Environment:
- Kratos version (use
kratos -v
): kratos version v2.5.3 - Go version (use
go version
): go version go1.19.5 darwin/amd64 - OS (e.g:
cat /etc/os-release
): macOS - Others:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working