Skip to content

Commit

Permalink
Fix debug logs. Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger committed May 8, 2023
1 parent 9cb02c0 commit f4d68c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ async function start() {
await legacyUpload(filePath, cdnPath, version);
}

debugLog('AWS KEY is', process.env['AWS_KEY_ID']);
// Upload to our R2 bucket
if (process.env['AWS_KEY_ID']) {
debugLog('S3 upload');
Expand Down
2 changes: 1 addition & 1 deletion legacyUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from 'path';
import fs from 'fs';
import crypto from 'crypto';
import {debugLog as debugLog_, hashFile, walk} from "./utils.js";
const debugLog = (...args) => debugLog_('S3', ...args);
const debugLog = (...args) => debugLog_('LEGACY', ...args);

async function _upload(data, cdnPath) {
return new Promise((resolve, reject) => {
Expand Down
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.13",
"version": "1.1.14",
"author": "altMP Team",
"bin": {
"alt-upload": "./cli.js"
Expand Down

0 comments on commit f4d68c2

Please sign in to comment.