Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann authored and pascalwengerter committed Mar 22, 2022
1 parent f61af48 commit c6b87ac
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class FolderLoaderFavorites implements FolderLoader {
clientService: { owncloudSdk: client }
} = context

// eslint-disable-next-line @typescript-eslint/no-unused-vars
return useTask(function* (signal1, signal2) {
store.commit('Files/CLEAR_CURRENT_FILES_LIST')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class FolderLoaderSharedViaLink implements FolderLoader {

const hasResharing = useCapabilityFilesSharingResharing(store)

// eslint-disable-next-line @typescript-eslint/no-unused-vars
return useTask(function* (signal1, signal2) {
store.commit('Files/CLEAR_CURRENT_FILES_LIST')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class FolderLoaderSharedWithMe implements FolderLoader {

const hasResharing = useCapabilityFilesSharingResharing(store)

// eslint-disable-next-line @typescript-eslint/no-unused-vars
return useTask(function* (signal1, signal2) {
store.commit('Files/CLEAR_CURRENT_FILES_LIST')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class FolderLoaderSharedWithOthers implements FolderLoader {

const hasResharing = useCapabilityFilesSharingResharing(store)

// eslint-disable-next-line @typescript-eslint/no-unused-vars
return useTask(function* (signal1, signal2) {
store.commit('Files/CLEAR_CURRENT_FILES_LIST')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Store } from 'vuex'
import { unref } from '@vue/composition-api'
import qs from 'qs'

import { Resource } from '../../../../web-app-files/src/helpers/resource'
import { Resource } from 'files/src/helpers/resource'
import { MaybeRef } from '../../utils'
import { ClientService, clientService as defaultClientService } from '../../services'
import { DavProperties } from '../../constants'
Expand All @@ -25,7 +25,6 @@ export interface AppFileHandlingResult {

export function useAppFileHandling(options: AppFileHandlingOptions): AppFileHandlingResult {
const client = (options.clientService || defaultClientService).owncloudSdk
const store = options.store
const isPublicLinkContext = options.isPublicLinkContext
const publicLinkPassword = options.publicLinkPassword

Expand Down
2 changes: 1 addition & 1 deletion packages/web-runtime/tests/unit/pages/account.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe('account page', () => {
})

describe('account information', () => {
it('displays basic user information', async () => {
it('displays basic user information', () => {
const store = getStore({
user: {
username: 'some-username',
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/pageObjects/appBarActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
getBatchActionButtonElementSelector: function (batchButtonName) {
return util.format(this.elements.batchActionButton.selector, batchButtonName)
},
navigateToSharesSubPage: async function (sharesSubPageButtonName) {
navigateToSharesSubPage: function (sharesSubPageButtonName) {
const sharesSubPageBtn = {
selector: util.format(this.elements.sharesSubPageButton.selector, sharesSubPageButtonName),
locateStrategy: 'xpath'
Expand Down
1 change: 0 additions & 1 deletion tests/acceptance/stepDefinitions/filesContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const loginHelper = require('../helpers/loginHelper')
const xpathHelper = require('../helpers/xpath')
const path = require('../helpers/path')
const util = require('util')
const sharingHelper = require('../helpers/sharingHelper')
const { SHARE_STATE } = require('../helpers/sharingHelper')
const appSideBar = client.page.FilesPageElement.appSideBar()
const appBarActions = client.page.appBarActions()
Expand Down

0 comments on commit c6b87ac

Please sign in to comment.