fix(core): update

This commit is contained in:
Philipp Kunz 2023-10-11 19:06:15 +02:00
parent 0534657b97
commit a420bb1b09
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartpnpm', name: '@push.rocks/smartpnpm',
version: '1.0.4', version: '1.0.5',
description: 'use pnpm in your code' description: 'use pnpm in your code'
} }

View File

@ -14,7 +14,7 @@ export class SmartPnpm {
async getDependencyLicenseJson() { async getDependencyLicenseJson() {
try { try {
// Get store directory // Get store directory
const execResult = await this.smartshellInstance.execSilent('pnpm licenses list --json'); const execResult = await this.smartshellInstance.execSilent(`(cd ${this.projectDir} && pnpm licenses list --json)`);
const licenseJson: {[key: string]: Array<{ const licenseJson: {[key: string]: Array<{
"name": string; "name": string;
"version": string; "version": string;