mirror of
https://github.com/louislam/dockge.git
synced 2025-03-15 13:54:46 +00:00
fix: address linting issues
This commit is contained in:
parent
8a2217c2b9
commit
79e778c75c
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,8 @@ function copyYAMLCommentsItems(items: any, srcItems: any) {
|
||||||
const item: any = items[i];
|
const item: any = items[i];
|
||||||
|
|
||||||
// Try to find matching source item by content
|
// Try to find matching source item by content
|
||||||
const srcIndex = srcItems.findIndex((srcItem: any) =>
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
const srcIndex = srcItems.findIndex((srcItem: any) =>
|
||||||
JSON.stringify(srcItem.value) === JSON.stringify(item.value) &&
|
JSON.stringify(srcItem.value) === JSON.stringify(item.value) &&
|
||||||
JSON.stringify(srcItem.key) === JSON.stringify(item.key)
|
JSON.stringify(srcItem.key) === JSON.stringify(item.key)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue