allow changes

This commit is contained in:
David Sheldrick 2024-02-29 18:09:30 +00:00
parent a25d58e9b6
commit df205706e6
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ export async function writeStringFile(filePath: string, contents: string) {
}
export async function writeFile(filePath: string, contents: Buffer) {
if (process.env.CI) {
if (process.env.CI && !process.env.ALLOW_REFRESH_ASSETS_CHANGES) {
let existingContents: Buffer | null = null
try {
existingContents = await readFile(filePath)