Skip to content

Commit

Permalink
fix foldering logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanhandy committed Jun 12, 2024
1 parent 19cdc01 commit c92436d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commands/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ export function setSubfolder(file: File, resourceUrl: string, plugin: Cloudinary
}
if(plugin.settings.folder && result != ""){
result = `${plugin.settings.folder}/${result}`
}else if(!plugin.settings.folder && result != ""){
result = `${result}`
}else if(plugin.settings.folder){
result = `${plugin.settings.folder}`;
}else{
Expand Down

0 comments on commit c92436d

Please sign in to comment.