Skip to content

Commit

Permalink
Fix. Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
emcifuntik committed May 25, 2023
1 parent fc281b4 commit 1d998c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@altmp/upload-tool",
"version": "1.1.17",
"version": "1.1.18",
"author": "altMP Team",
"bin": {
"alt-upload": "./cli.js"
Expand Down
2 changes: 1 addition & 1 deletion s3upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function uploadDir(dirPath, cdnPath, version) {
const stats = fs.statSync(file);
if (!stats.isDirectory()) {
const filePath = file.replace(dirPath, '').substring(1).replace(/\\/g, '/');
const key = cdnPath + '/' + filePath;
const key = (cdnPath.length > 0 ? (cdnPath + '/') : '') + filePath;

if (version) {
hashes[filePath] = await hashFile(file);
Expand Down

0 comments on commit 1d998c3

Please sign in to comment.