PiperOrigin-RevId: 563907673
This commit is contained in:
Sebastian Schmidt 2023-09-08 19:13:42 -07:00 committed by Copybara-Service
parent 1514304ab3
commit 7accc79018

View File

@ -1202,7 +1202,7 @@ export class GraphRunner {
} }
// Quick private helper to run the given script safely // Quick private helper to run the given script safely
async function runScript(scriptUrl: string) { async function runScript(scriptUrl: string|string) {
if (typeof importScripts === 'function') { if (typeof importScripts === 'function') {
importScripts(scriptUrl.toString()); importScripts(scriptUrl.toString());
} else { } else {