Internal
PiperOrigin-RevId: 563907673
This commit is contained in:
parent
1514304ab3
commit
7accc79018
|
@ -1202,7 +1202,7 @@ export class GraphRunner {
|
|||
}
|
||||
|
||||
// Quick private helper to run the given script safely
|
||||
async function runScript(scriptUrl: string) {
|
||||
async function runScript(scriptUrl: string|string) {
|
||||
if (typeof importScripts === 'function') {
|
||||
importScripts(scriptUrl.toString());
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user