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 4f5c836 commit 8355f94Copy full SHA for 8355f94
1 file changed
README.md
@@ -462,10 +462,12 @@ app.use(instance);
462
instance.waitUntilValid(() => {
463
instance
464
.getFilenameFromUrl("/bundle.js")
465
- .then(() => {
466
- if (filename) {
467
- console.log(`Filename is ${filename}`);
+ .then((filename) => {
+ if (!filename) {
+ return;
468
}
469
+
470
+ console.log(`Filename is ${filename}`);
471
})
472
.catch((err) => {
473
console.log(`Error: ${err}`);
0 commit comments