Skip to content

Commit

Permalink
Merge pull request #30 from RegestaItalia/fixListTransport
Browse files Browse the repository at this point in the history
fix list transport
  • Loading branch information
simonegaffurini authored Jul 3, 2024
2 parents c518651 + 638626d commit c3e8b8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trm-client",
"version": "3.1.0",
"version": "3.1.1",
"description": "TRM (Transport Request Manager) Client",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/commands/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export async function list(commandArgs: ListArguments) {
const version = oPackage.manifest.get().version || '';
const registry = oPackage.registry.getRegistryType() === RegistryType.PUBLIC ? 'public' : oPackage.registry.endpoint;
const devclass = oPackage.getDevclass() || '';
const importTransport = oPackage.manifest.getLinkedTransport().trkorr;
const linkedTransport = oPackage.manifest.getLinkedTransport();
const importTransport = linkedTransport ? linkedTransport.trkorr : '';
tableData.push([
packageName,
version,
Expand Down

0 comments on commit c3e8b8b

Please sign in to comment.