mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 22:19:36 +02:00
fix: misc
This commit is contained in:
@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';
|
||||
import { Buffer } from 'buffer';
|
||||
import path from 'path';
|
||||
import Jimp from 'jimp';
|
||||
import { convertHexToRGBA } from '../../../../../utils/color';
|
||||
import { convertHexToRGBA } from '@utils/color';
|
||||
|
||||
test.describe('Change colors in png', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
|
@@ -34,7 +34,7 @@ function replaceTextWithRegexp(
|
||||
return text.replace(new RegExp(searchRegexp, 'g'), replaceValue);
|
||||
}
|
||||
} catch (err) {
|
||||
console.error('Invalid regular expression:', err);
|
||||
// console.error('Invalid regular expression:', err);
|
||||
return text;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user