gadget-inc / ggt

The command-line interface for Gadget
https://docs.gadget.dev/reference/ggt
MIT License
11 stars 1 forks source link

[Bug] ggt pull can not generate .gadget folder #1714

Open datff opened 4 weeks ago

datff commented 4 weeks ago

Error ID

913523bb-dfbd-4c33-bd23-ac8716ab5f1c

What happened?

I run ggt pull --app=<my app name> --env=staging --force --allow-unknown-directory This error occurred: Error: Cannot move '/test/.gadget' to a subdirectory of itself, '/test/.gadget/backup/.gadget'. at Object.gp (dist/chunk-GIAIN3IJ.js:2:8552) at async Object.qm (dist/chunk-GIAIN3IJ.js:7:2529) at async tt.retries (dist/chunk-IPKFNVOS.js:175:708) at async I._fn (dist/chunk-IPKFNVOS.js:169:5410)

image

What did you expect to happen?

I expected the pull process would be successfully.

Steps to reproduce

Please run ggt pull --app=<app name> --env=staging --force --allow-unknown-directory to reproduce.

Anything else?

No response