mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 16:40:41 +00:00
fix: empty response when mkdir is a no-op
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run
This commit is contained in:
@@ -331,7 +331,7 @@ class HLMkdir extends HLFilesystemOperation {
|
||||
}
|
||||
this.created = existing;
|
||||
this.used_existing = true;
|
||||
return {};
|
||||
return await this.created.getSafeEntry();
|
||||
} else {
|
||||
throw APIError.create('item_with_same_name_exists', null, {
|
||||
entry_name: target_basename,
|
||||
|
||||
Reference in New Issue
Block a user