Some checks failed
Build and Deploy / build-macos (push) Failing after 4s
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
Build and Deploy / build-linux (push) Has been cancelled
18 lines
416 B
JavaScript
18 lines
416 B
JavaScript
// Test module to verify argument passing
|
|
|
|
console.log("Test args module loaded");
|
|
console.log("Number of arguments:", arg.length);
|
|
console.log("Arguments received:", arg);
|
|
|
|
function createMessage(prefix) {
|
|
prefix = prefix || "default";
|
|
return prefix + ": " + arg.join(", ");
|
|
}
|
|
|
|
return {
|
|
args: arg,
|
|
message: createMessage(arg[0]),
|
|
allArgs: function() {
|
|
return "All arguments: " + arg.join(", ");
|
|
}
|
|
}; |