mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: upgrade nodejs version to 18.x (#8768)
This commit is contained in:
+4
-1
@@ -342,7 +342,10 @@ const createTemplateVersionTar = async (
|
||||
Provision_Response.encode(response as Provision_Response).finish(),
|
||||
)
|
||||
})
|
||||
return Buffer.from((await tar.write()) as ArrayBuffer)
|
||||
const tarFile = await tar.write()
|
||||
return Buffer.from(
|
||||
tarFile instanceof Blob ? await tarFile.arrayBuffer() : tarFile,
|
||||
)
|
||||
}
|
||||
|
||||
const randomName = () => {
|
||||
|
||||
Reference in New Issue
Block a user