Skip to content

Commit

Permalink
Update pods.ts to not use callee
Browse files Browse the repository at this point in the history
  • Loading branch information
keylanjensen committed Apr 3, 2024
1 parent 804f082 commit 3475304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ const store = krl.Action(["originURL", "destinationURL", "fileName", "doAutoAuth
fileName : string | undefined = undefined,
doAutoAuth : Boolean = true
) {
const FUNCTION_NAME = arguments.callee.name;
const FUNCTION_NAME = "store";
if (!await isStorageConnected(this, [])) {
throw MODULE_NAME + ":" + FUNCTION_NAME + " needs a Pod to be connected.";
}
Expand Down Expand Up @@ -357,7 +357,7 @@ const overwrite = krl.Action(["originURL", "destinationURL", "fileName", "doAuto
fileName : string | undefined = undefined,
doAutoAuth : Boolean = true
) {
const FUNCTION_NAME = arguments.callee.name;
const FUNCTION_NAME = "overwrite";
if (!await isStorageConnected(this, [])) {
throw MODULE_NAME + ":" + FUNCTION_NAME + " needs a Pod to be connected.";
}
Expand Down

0 comments on commit 3475304

Please sign in to comment.