chore: 🚨 lint and format

This commit is contained in:
ThatOneCalculator committed 2024-01-03 14:33:57 -08:00
1 parent 037793161e
commit 07cc7f15d5
25 files changed
+190 -180

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ export const splitStream = (splitOn) => {
};
export const convertMessagesToHistory = (messages) => {
let history = {
const history = {
messages: {},
currentId: null
};
@@ -114,7 +114,7 @@ export const checkVersion = (required, current) => {
export const findWordIndices = (text) => {
const regex = /\[([^\]]+)\]/g;
let matches = [];
const matches = [];
let match;
while ((match = regex.exec(text)) !== null) {