mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-30 17:50:00 -06:00
fix: empty response when mkdir is a no-op
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