mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[deps] Autofill: Update prettier to v3 (#7014)
* [deps] Autofill: Update prettier to v3 * prettier formatting updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
@@ -16,7 +16,7 @@ export class ServiceUtils {
|
||||
parts: string[],
|
||||
obj: ITreeNodeObject,
|
||||
parent: TreeNode<ITreeNodeObject> | undefined,
|
||||
delimiter: string
|
||||
delimiter: string,
|
||||
) {
|
||||
if (parts.length <= partIndex) {
|
||||
return;
|
||||
@@ -41,7 +41,7 @@ export class ServiceUtils {
|
||||
parts,
|
||||
obj,
|
||||
nodeTree[i],
|
||||
delimiter
|
||||
delimiter,
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -63,7 +63,7 @@ export class ServiceUtils {
|
||||
[newPartName, ...parts.slice(partIndex + 2)],
|
||||
obj,
|
||||
parent,
|
||||
delimiter
|
||||
delimiter,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -76,7 +76,7 @@ export class ServiceUtils {
|
||||
*/
|
||||
static getTreeNodeObject<T extends ITreeNodeObject>(
|
||||
nodeTree: TreeNode<T>,
|
||||
id: string
|
||||
id: string,
|
||||
): TreeNode<T> {
|
||||
if (nodeTree.node.id === id) {
|
||||
return nodeTree;
|
||||
@@ -100,7 +100,7 @@ export class ServiceUtils {
|
||||
*/
|
||||
static getTreeNodeObjectFromList<T extends ITreeNodeObject>(
|
||||
nodeTree: TreeNode<T>[],
|
||||
id: string
|
||||
id: string,
|
||||
): TreeNode<T> {
|
||||
for (let i = 0; i < nodeTree.length; i++) {
|
||||
if (nodeTree[i].node.id === id) {
|
||||
|
||||
Reference in New Issue
Block a user