Skip to content

Commit

Permalink
Remove extra print
Browse files Browse the repository at this point in the history
  • Loading branch information
larsenv committed Oct 19, 2023
1 parent 96e304b commit 21b12b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/riitag/banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export async function makeBanner(user) {

// Background image
const bgPath = path.resolve(!Number.isNaN(Number(user.background.replace(/.*\//, '').replace(/\.png$/, ''))) ? CACHE.BACKGROUNDS : PUBLIC.BACKGROUND, user.background);
console.log(bgPath);
if (!(await exists(bgPath))) {
throw new Error(`Background ${user.background} does not exist`);
}
Expand Down
2 changes: 0 additions & 2 deletions src/lib/utils/fileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export async function saveFile(filepath, file) {
await fs.promises.mkdir(path.dirname(filepath), { recursive: true });
}

console.log(file)

const fileStream = fs.createWriteStream(filepath);

try {
Expand Down

0 comments on commit 21b12b8

Please sign in to comment.