fix loading non deno from hub

This commit is contained in:
Ruben Fiszel
2022-10-27 09:08:55 +02:00
parent 8a486a8a92
commit 86efd6ad21

View File

@@ -63,7 +63,7 @@
const template = await getScriptByPath(hubPath)
script.description = `Fork of ${hubPath}`
script.content = template.content
script.language = Script.language.DENO
script.language = template.language as Script.language
sendUserToast(`Code has been loaded from hub script ${hubPath}.`)
}
}