Update gulp*

This commit is contained in:
2026-03-25 21:10:11 +01:00
parent 3eb40a1e26
commit be2f5755b1
10 changed files with 11225 additions and 15398 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import '../server/boot';
import * as mongoose from 'mongoose';
import * as fs from 'fs';
import * as path from 'path';
import * as del from 'del';
import { deleteAsync } from 'del';
import { once, mapValues } from 'lodash';
import { spawnSync } from 'child_process';
import { createStubInstance, SinonStubbedInstance, stub } from 'sinon';
@@ -51,7 +51,7 @@ export function generateDiff(expectedPath: string, actualPath: string) {
}
export async function clearCompareResults(group: string) {
await del([pathTo('tools', 'temp', group, '*.png').replace(/\\/g, '/')]);
await deleteAsync([pathTo('tools', 'temp', group, '*.png').replace(/\\/g, '/')]);
}
export function compareCanvases(