Skip to content

Commit

Permalink
Merge pull request #23 from RegestaItalia/fixdevclass
Browse files Browse the repository at this point in the history
Fix devclass
  • Loading branch information
simonegaffurini authored Feb 21, 2024
2 parents ab418df + 759e8fc commit 2aa176c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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": "2.1.0",
"version": "2.2.0",
"description": "TRM (Transport Request Manager) Client",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 2 additions & 5 deletions src/commands/compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,13 @@ export async function compare(commandArgs: CompareArguments, actionArgs: ActionA
connectionData.push(oConnection.getDest());
connectionData.push(oSystemViewManifest ? `Yes` : `No`);
connectionData.push(oSystemViewManifest ? oSystemViewManifest.version : '');
if(oSystemViewManifest){
if(oSystemViewManifest && oSystemViewManifest.linkedTransport){
const devclass = await oSystemViewManifest.linkedTransport.getDevclass();
connectionData.push(devclass);
}else{
connectionData.push('');
}
if(oSystemViewManifest && oSystemViewManifest.linkedTransport){
connectionData.push(oSystemViewManifest.linkedTransport.trkorr);
}else{
connectionData.push('');
connectionData.push('');
}
if(oSystemViewManifest){
//const dependenciesCheckResult = await checkDependencies()
Expand Down

0 comments on commit 2aa176c

Please sign in to comment.