Skip to content

Commit

Permalink
Fix Unit Test Messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsmedley committed Jan 5, 2024
1 parent b032f6f commit a7be792
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205365,15 +205365,15 @@ async function* filesFromDir(dir, filter, options) {
const { filebaseKey, filebaseSecret, filebaseBucket } = options;

if (!filebaseKey) {
throw new Error("filebaseKey is empty");
throw new Error("[filebase] Key is empty. (input `filebaseKey`)");
}

if (!filebaseSecret) {
throw new Error("filebaseSecret is empty");
throw new Error("[filebase] Secret is empty. (input `filebaseSecret`)");
}

if (!filebaseBucket) {
throw new Error("filebaseBucket is empty");
throw new Error("[filebase] Bucket is empty. (input `filebaseBucket`)");
}

return {
Expand Down
6 changes: 3 additions & 3 deletions pinners/filebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ export default {
const { filebaseKey, filebaseSecret, filebaseBucket } = options;

if (!filebaseKey) {
throw new Error("filebaseKey is empty");
throw new Error("[filebase] Key is empty. (input `filebaseKey`)");
}

if (!filebaseSecret) {
throw new Error("filebaseSecret is empty");
throw new Error("[filebase] Secret is empty. (input `filebaseSecret`)");
}

if (!filebaseBucket) {
throw new Error("filebaseBucket is empty");
throw new Error("[filebase] Bucket is empty. (input `filebaseBucket`)");
}

return {
Expand Down

0 comments on commit a7be792

Please sign in to comment.