Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 2dc8846

Browse files
committed
Use denoflate instead of wasm_gzip
1 parent f1b9170 commit 2dc8846

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Untar } from 'https://deno.land/[email protected]/archive/tar.ts'
22
import { green, dim } from 'https://deno.land/[email protected]/fmt/colors.ts'
33
import { ensureDir } from 'https://deno.land/[email protected]/fs/ensure_dir.ts'
44
import { join } from 'https://deno.land/[email protected]/path/mod.ts'
5-
import { gzipDecode } from 'https://deno.land/x/[email protected]/mod.ts'
5+
import { gunzip } from 'https://deno.land/x/[email protected]/mod.ts'
66
import { ensureTextFile } from '../shared/fs.ts'
77
import util from '../shared/util.ts'
88
import { defaultReactVersion } from '../shared/constants.ts'
@@ -35,7 +35,7 @@ export default async function (nameArg?: string) {
3535
const gzData = await Deno.readAll(new Deno.Buffer(await resp.arrayBuffer()))
3636

3737
console.log('Saving template...')
38-
const tarData = gzipDecode(gzData)
38+
const tarData = gunzip(gzData)
3939
const entryList = new Untar(new Deno.Buffer(tarData))
4040

4141
for await (const entry of entryList) {

0 commit comments

Comments
 (0)