We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ac7a4 commit e3b9755Copy full SHA for e3b9755
src/underscript.js
@@ -47,6 +47,10 @@ function downloadScript(version) {
47
}
48
49
function bundleScript(depends, script) {
50
+ if (typeof script !== 'string') {
51
+ script = `${script}`;
52
+ }
53
+ regex.lastIndex = 0; // Reset the regex, just in case
54
const GM_info = {
55
scriptHandler: 'UnderScriptApp',
56
script: {
0 commit comments