fix broken import

This commit is contained in:
Holly Stubbs 2023-07-28 12:40:07 +01:00
parent 247ecb3484
commit 3351888f19

View file

@ -42,7 +42,7 @@ const splitLines = combinedFiles.split("\n");
const resultLines:Array<string> = new Array<string>(); const resultLines:Array<string> = new Array<string>();
// Insert allowed imports // Insert allowed imports
resultLines.push(`import chalk from "chalk"; resultLines.push(`import * as dyetty from "dyetty";
import { createWriteStream, mkdirSync, existsSync, readFileSync, readFile, writeFile, writeFileSync, readdirSync } from "fs"; import { createWriteStream, mkdirSync, existsSync, readFileSync, readFile, writeFile, writeFileSync, readdirSync } from "fs";
import { deflate, inflate } from "zlib"; import { deflate, inflate } from "zlib";
import { createWriter, createReader, IReader, Endian } from "bufferstuff"; import { createWriter, createReader, IReader, Endian } from "bufferstuff";