Skip to content

Commit

Permalink
fix: removes unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gweiying committed Mar 17, 2021
1 parent e4f835a commit 500f067
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions classes/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const yaml = require('js-yaml')
const base64 = require('base-64')
const _ = require('lodash')

// Import logger
const logger = require('../logger/logger');

// Import error
const { NotFoundError } = require('../errors/NotFoundError')
const { ConflictError, inputNameConflictErrorMsg } = require('../errors/ConflictError')
Expand Down
1 change: 0 additions & 1 deletion routes/collectionPages.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const {
const { Collection } = require('../classes/Collection')
const { CollectionConfig } = require('../classes/Config');
const { File, CollectionPageType } = require('../classes/File');
const { update } = require('lodash');

// Import utils
const { readCollectionPageUtilFunc } = require('../utils/route-utils')
Expand Down
2 changes: 0 additions & 2 deletions routes/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const {
// Import classes
const { File, PageType, CollectionPageType } = require('../classes/File.js')
const { Collection } = require('../classes/Collection.js');
const { Directory, FolderType } = require('../classes/Directory');
const { create } = require('lodash');
const { CollectionConfig } = require('../classes/Config');

const { deslugifyCollectionName } = require('../utils/utils')
Expand Down

0 comments on commit 500f067

Please sign in to comment.