Skip to content

Commit

Permalink
chore: remove debug hash log
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 16, 2021
1 parent 610e9b7 commit b59f54a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
} from './shared'
import { resolveAliases, APP_PATH, DEFAULT_THEME_PATH } from './alias'
import { MarkdownOptions } from './markdown/markdown'
import { createHash } from 'crypto'

export { resolveSiteDataByRoute } from './shared'

Expand Down Expand Up @@ -101,13 +100,6 @@ export async function resolveConfig(
})
).sort()

const hash = createHash('sha256')
.update(pages.join(','))
.digest('hex')
.slice(0, 8)

console.log(hash)

const config: SiteConfig = {
root,
srcDir,
Expand Down

0 comments on commit b59f54a

Please sign in to comment.