Skip to content

Commit 6185c30

Browse files
authored
Remove unused currentScriptUrl. NFC (#21737)
Last usage looks like it was removed in #7667.
1 parent 4f47503 commit 6185c30

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/shell_minimal.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ if (ENVIRONMENT_IS_NODE) {
172172
global.Worker = require('worker_threads').Worker;
173173
}
174174
#endif
175-
176-
var currentScriptUrl = typeof _scriptDir != 'undefined' ? _scriptDir : ((typeof document != 'undefined') ? document.currentScript?.src : undefined);
177175
#endif // PTHREADS
178176

179177
#if !SINGLE_FILE

0 commit comments

Comments
 (0)