diff --git a/package.json b/package.json index a3a869b..5220d13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "csdnsynchexo", - "version": "4.0.1", + "version": "4.0.2", "description": "支持csdn/博客园/掘金/segmentfault/腾讯云加社区等平台一键迁移hexo", "main": "dist/src/index.js", "module": "dist/src/index.js", diff --git a/src/cli.ts b/src/cli.ts index 4d02be9..630c538 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -6,7 +6,7 @@ import path from 'path' import { run } from './core/index.js' import { error, info } from './log/index.js' // cli -import pkg from '../package.json' assert { type: 'json' } +import pkg from '../package.json' with { type: 'json' } import fs from 'fs-extra' export const cli = async () => {