Skip to content

Commit

Permalink
refactor: 删除无用控制台输出
Browse files Browse the repository at this point in the history
  • Loading branch information
zkz098 committed Aug 2, 2023
1 parent d729170 commit dfa98e1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{

Check warning on line 1 in package.json

View workflow job for this annotation

GitHub Actions / analyze

Check dependency licenses

Transitive dependency: 'tslib' ('2.6.1') '0BSD' is not in the allowed or the prohibited licenses lists with project license 'AGPL-3.0-or-later'

Check warning on line 1 in package.json

View workflow job for this annotation

GitHub Actions / analyze

Check dependency licenses

Transitive dependency: 'argparse' ('2.0.1') 'Python-2.0' is not in the allowed or the prohibited licenses lists with project license 'AGPL-3.0-or-later'
"name": "hexo-theme-shokax",
"version": "0.3.0",
"version": "0.3.1",
"description": "a hexo theme based on shoka",
"main": "index.js",
"repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
Expand Down
1 change: 0 additions & 1 deletion scripts/generaters/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ hexo.extend.generator.register('script', function (locals) {
files = files.concat(findJsFile(pathLib.join(path, 'page')))
files = files.concat(findJsFile(pathLib.join(path, 'pjax')))
files = files.concat(findJsFile(pathLib.join(path, 'components')))
console.log(files)

files.forEach(function (item) {
text += fs.readFileSync(item).toString()
Expand Down
1 change: 0 additions & 1 deletion scripts/helpers/summary_ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ function postMessage (path:string, content:string, dbPath:string, startMessage:s
db ??= {}
db[path] ??= {}
db[path][dbPath] ??= ''
console.log(db[path])
db[path][dbPath] = summary
}
fs.writeFileSync('summary.json', JSON.stringify(db))
Expand Down

0 comments on commit dfa98e1

Please sign in to comment.