Skip to content

Commit ab6ba56

Browse files
committed
Update static.service.ts
1 parent ee85f85 commit ab6ba56

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/shared/static/static.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import { PNG, PNGWithMetadata } from 'pngjs';
55

66
@Injectable()
77
export class StaticService {
8-
constructor() {}
9-
108
saveImage(type: 'screenshot' | 'diff' | 'baseline', imageBuffer: Buffer): string {
119
const imageName = `${Date.now()}.${type}.png`;
1210
writeFileSync(this.getImagePath(imageName), imageBuffer);

0 commit comments

Comments
 (0)