Skip to content

Commit

Permalink
Fix original file name being incorrectly replaced (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
longjuan committed Apr 14, 2024
1 parent f4ec56b commit 68b1a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/run/halo/s3os/FilePathUtils.java
Expand Up @@ -6,6 +6,6 @@
public class FilePathUtils {

public static String getFilePathByPlaceholder(String filePath) {
return PlaceholderReplacer.replacePlaceholders(filePath, "");
return PlaceholderReplacer.replacePlaceholders(filePath, null);
}
}

0 comments on commit 68b1a88

Please sign in to comment.