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 4a3cf9a commit 81d5863Copy full SHA for 81d5863
templates/deno/src/services/service.ts.twig
@@ -150,6 +150,9 @@ export class {{ service.name | caseUcfirst }} extends Service {
150
totalBuffer[(blockIndex * Client.DENO_READ_CHUNK_SIZE) + byteIndex] = buf[byteIndex];
151
}
152
153
+
154
+ // Shrink empty bytes
155
+ totalBuffer = new Uint8Array(totalBuffer.buffer, 0);
156
157
payload['{{ parameter.name }}'] = new File([totalBuffer], basename({{ parameter.name | caseCamel | escapeKeyword }}));
158
0 commit comments