From 1ee070a14bf1a0682c6e301b1aa0e54a69d0bef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= Date: Fri, 21 Apr 2023 08:02:16 +0000 Subject: [PATCH] autorunManager: Add missing await keyword This fixes a regression introduced in commit c6861c0a3d3db3b3f4343e38b08b48d18803b2fe Part-of: --- js/ui/components/autorunManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index 4a55a3a2a..b02474a1f 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -102,7 +102,7 @@ var ContentTypeDiscoverer = class { if (contentTypes.length === 0) { const root = mount.get_root(); const hotplugSniffer = new HotplugSniffer(); - [contentTypes] = hotplugSniffer.SniffURIAsync(root.get_uri()); + [contentTypes] = await hotplugSniffer.SniffURIAsync(root.get_uri()); } }