1
0
mirror of synced 2025-12-25 02:17:36 -05:00

remove commented out code

This commit is contained in:
Sarah Schneider
2021-04-09 09:10:01 -04:00
parent 7c4240bea4
commit d9a630294f

View File

@@ -18,7 +18,6 @@ const statsd = require('./statsd')
const readFileContents = require('./read-file-contents')
const getLinkData = require('./get-link-data')
const union = require('lodash/union')
// const getDocumentType = require('./get-document-type')
class Page {
static async init (opts) {
@@ -77,9 +76,6 @@ class Page {
this.introLinks.rawOverview = this.introLinks.overview
}
// Is this a Product, Category, Topic, or Article?
// this.documentType = getDocumentType(this.relativePath)
// Get array of versions that the page is available in for fast lookup
this.applicableVersions = getApplicableVersions(this.versions, this.fullPath)