Skip to content

Commit

Permalink
chore: Fix eslint to deal with path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tofumatt committed Jul 10, 2017
1 parent f623c70 commit 3accc76
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/amo/sagas/categories.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/* eslint-disable import/order */
import { hideLoading, showLoading } from 'react-redux-loading-bar';
import { call, put, select, takeEvery } from 'redux-saga/effects';
/* eslint-enable import/order */

import { getApi } from 'amo/sagas/utils';
import {
categoriesFail,
categoriesLoad,
Expand All @@ -9,8 +12,6 @@ import { categories as categoriesApi } from 'core/api';
import { CATEGORIES_FETCH } from 'core/constants';
import log from 'core/logger';

import { getApi } from './utils';


export function* fetchCategories() {
try {
Expand Down
4 changes: 3 additions & 1 deletion src/amo/sagas/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable import/order */
import { fork } from 'redux-saga/effects';
/* eslint-enable import/order */

import categories from './categories';
import categories from 'amo/sagas/categories';


// Export all sagas for this app so runSaga can consume them.
Expand Down
4 changes: 3 additions & 1 deletion tests/unit/amo/sagas/testUtils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable import/order */
import { takeEvery } from 'redux-saga';
import { put, select } from 'redux-saga/effects';
import SagaTester from 'redux-saga-tester';
import { put, select } from 'redux-saga/effects';
/* eslint-enable import/order */

import { getApi } from 'amo/sagas/utils';
import createStore from 'amo/store';
Expand Down

0 comments on commit 3accc76

Please sign in to comment.