From 38341f347537a074b9e9de294dfbc986a74d7156 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Fri, 7 May 2021 11:54:44 +0100 Subject: [PATCH] Run linter. --- src/api/addNewTOTP.js | 2 +- src/api/createOrUpdateSecret.js | 2 +- src/api/deleteSecret.js | 2 +- src/api/getCapabilities.js | 2 +- src/api/transitDecrypt.js | 2 +- src/api/transitEncrypt.js | 2 +- src/api/undeleteSecret.js | 2 +- src/pages/KeyValue/KeyValueSecret.js | 4 ++-- src/pages/Login.js | 2 +- src/pages/Me.js | 4 ++-- src/pages/Unseal.js | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/api/addNewTOTP.js b/src/api/addNewTOTP.js index 139e9ab..9176cbc 100644 --- a/src/api/addNewTOTP.js +++ b/src/api/addNewTOTP.js @@ -1,5 +1,5 @@ -import { removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { removeDoubleSlash } from "../utils.js"; export async function addNewTOTP(baseMount, parms) { diff --git a/src/api/createOrUpdateSecret.js b/src/api/createOrUpdateSecret.js index 0fa33dd..c477759 100644 --- a/src/api/createOrUpdateSecret.js +++ b/src/api/createOrUpdateSecret.js @@ -1,5 +1,5 @@ -import { removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { removeDoubleSlash } from "../utils.js"; export async function createOrUpdateSecret(baseMount, mountType, secretPath, name, data) { diff --git a/src/api/deleteSecret.js b/src/api/deleteSecret.js index ac8648e..10f021a 100644 --- a/src/api/deleteSecret.js +++ b/src/api/deleteSecret.js @@ -1,5 +1,5 @@ -import { removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { removeDoubleSlash } from "../utils.js"; export async function deleteSecret(baseMount, mountType, secretPath, name, version = null) { diff --git a/src/api/getCapabilities.js b/src/api/getCapabilities.js index d5d954b..3c692e8 100644 --- a/src/api/getCapabilities.js +++ b/src/api/getCapabilities.js @@ -1,5 +1,5 @@ -import { removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { removeDoubleSlash } from "../utils.js"; export async function getCapabilitiesPath(path) { diff --git a/src/api/transitDecrypt.js b/src/api/transitDecrypt.js index f74888e..42cb239 100644 --- a/src/api/transitDecrypt.js +++ b/src/api/transitDecrypt.js @@ -1,5 +1,5 @@ -import { removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { removeDoubleSlash } from "../utils.js"; export async function transitDecrypt(baseMount, name, data) { diff --git a/src/api/transitEncrypt.js b/src/api/transitEncrypt.js index b3e98ca..b9abdb8 100644 --- a/src/api/transitEncrypt.js +++ b/src/api/transitEncrypt.js @@ -1,5 +1,5 @@ -import { removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { removeDoubleSlash } from "../utils.js"; export async function transitEncrypt(baseMount, name, data) { diff --git a/src/api/undeleteSecret.js b/src/api/undeleteSecret.js index 7ae2471..fbbaa3a 100644 --- a/src/api/undeleteSecret.js +++ b/src/api/undeleteSecret.js @@ -1,5 +1,5 @@ -import { getObjectKeys, removeDoubleSlash } from "../utils.js"; import { appendAPIURL, getHeaders } from "./apiUtils.js"; +import { getObjectKeys, removeDoubleSlash } from "../utils.js"; import { getSecretMetadata } from "./getSecretMetadata"; diff --git a/src/pages/KeyValue/KeyValueSecret.js b/src/pages/KeyValue/KeyValueSecret.js index 883acd7..d50d456 100644 --- a/src/pages/KeyValue/KeyValueSecret.js +++ b/src/pages/KeyValue/KeyValueSecret.js @@ -1,11 +1,11 @@ import { CopyableInputBox } from "../../elements/CopyableInputBox.js"; import { Page } from "../../types/Page.js"; import { changePage, setPageContent, setTitleElement } from "../../pageUtils.js"; -import { getSecret } from "../../api/getSecret"; -import { undeleteSecret } from "../../api/undeleteSecret"; import { getCapabilities } from "../../api/getCapabilities"; +import { getSecret } from "../../api/getSecret"; import { makeElement } from "../../htmlUtils.js"; import { pageState } from "../../globalPageState.js"; +import { undeleteSecret } from "../../api/undeleteSecret"; import Prism from "prismjs"; import i18next from 'i18next'; diff --git a/src/pages/Login.js b/src/pages/Login.js index 9618394..6d447ed 100644 --- a/src/pages/Login.js +++ b/src/pages/Login.js @@ -2,10 +2,10 @@ import { Margin } from "../elements/Margin.js"; import { MarginInline } from "../elements/MarginInline.js"; import { Page } from "../types/Page.js"; import { changePage, setErrorText, setPageContent } from "../pageUtils.js"; -import { usernameLogin } from "../api/usernameLogin"; import { lookupSelf } from "../api/lookupSelf"; import { makeElement } from "../htmlUtils.js"; import { pageState } from "../globalPageState.js"; +import { usernameLogin } from "../api/usernameLogin"; import i18next from 'i18next'; export class LoginPage extends Page { diff --git a/src/pages/Me.js b/src/pages/Me.js index 02e3041..8ac2c5b 100644 --- a/src/pages/Me.js +++ b/src/pages/Me.js @@ -1,10 +1,10 @@ import { Page } from "../types/Page.js"; import { addClipboardNotifications, changePage, prePageChecks, setErrorText, setPageContent } from "../pageUtils.js"; import { getCapabilitiesPath } from "../api/getCapabilities.js"; -import { renewSelf } from "../api/renewSelf.js"; -import { sealVault } from "../api/sealVault.js"; import { makeElement } from "../htmlUtils.js"; import { pageState } from "../globalPageState.js"; +import { renewSelf } from "../api/renewSelf.js"; +import { sealVault } from "../api/sealVault.js"; import ClipboardJS from "clipboard"; import i18next from 'i18next'; diff --git a/src/pages/Unseal.js b/src/pages/Unseal.js index ad89924..60c5423 100644 --- a/src/pages/Unseal.js +++ b/src/pages/Unseal.js @@ -3,8 +3,8 @@ import { Page } from "../types/Page.js"; import { QRScanner } from "../elements/QRScanner.js"; import { changePage, setErrorText, setPageContent } from "../pageUtils.js"; import { getSealStatus } from "../api/getSealStatus.js"; -import { submitUnsealKey } from "../api/submitUnsealKey.js"; import { makeElement } from "../htmlUtils.js"; +import { submitUnsealKey } from "../api/submitUnsealKey.js"; import i18next from 'i18next';