From a420bb1b0977529d435b951f70f72faa9b3db7ad Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 11 Oct 2023 19:06:15 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartpnpm.classes.smartpnpm.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index fba5d62..981d415 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartpnpm', - version: '1.0.4', + version: '1.0.5', description: 'use pnpm in your code' } diff --git a/ts/smartpnpm.classes.smartpnpm.ts b/ts/smartpnpm.classes.smartpnpm.ts index e5f27ec..4344714 100644 --- a/ts/smartpnpm.classes.smartpnpm.ts +++ b/ts/smartpnpm.classes.smartpnpm.ts @@ -14,7 +14,7 @@ export class SmartPnpm { async getDependencyLicenseJson() { try { // 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<{ "name": string; "version": string;