hexo-theme-shokax 0.4.6-dev3 → 0.4.6-dev4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/toolbox/lib.mjs +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.4.6-dev3",
3
+ "version": "0.4.6-dev4",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/theme-shoka-x/hexo-theme-shokaX",
package/toolbox/lib.mjs CHANGED
@@ -51,6 +51,7 @@ export async function hoistDeps() {
51
51
  const deps = res.versions[latestV].dependencies
52
52
  const depsList = Object.keys(deps).map(d => `${d}@${deps[d]}`)
53
53
  const hexoRoot = await findScaffoldsDir(process.cwd())
54
+ throw Error(`${hexoRoot}\n${process.cwd()}`)
54
55
  child_process.exec(`${pm} ${depsList.join(' ')}`.trim(), {
55
56
  cwd: hexoRoot
56
57
  }, (code, stdout, stderr) => {