abapgit-agent 1.8.4 → 1.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abapgit-agent",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "ABAP Git Agent - Pull and activate ABAP code via abapGit from any git repository",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -71,7 +71,11 @@ module.exports = {
71
71
  // Check if object was not found
72
72
  if (notFound) {
73
73
  console.log(` ❌ ${objName} (${objTypeText})`);
74
- console.log(` Object not found: ${objName}`);
74
+ if (description) {
75
+ console.log(` ${description}`);
76
+ } else {
77
+ console.log(` Object not found: ${objName}`);
78
+ }
75
79
  continue;
76
80
  }
77
81
 
@@ -80,9 +84,9 @@ module.exports = {
80
84
  console.log(` ${description}`);
81
85
  }
82
86
 
83
- // Display source code for classes, interfaces, CDS views, and programs/source includes
87
+ // Display source code for classes, interfaces, CDS views, programs/source includes, and STOB
84
88
  const source = obj.SOURCE || obj.source || '';
85
- if (source && (objType === 'INTF' || objType === 'Interface' || objType === 'CLAS' || objType === 'Class' || objType === 'DDLS' || objType === 'CDS View' || objType === 'PROG' || objType === 'Program')) {
89
+ if (source && (objType === 'INTF' || objType === 'Interface' || objType === 'CLAS' || objType === 'Class' || objType === 'DDLS' || objType === 'CDS View' || objType === 'PROG' || objType === 'Program' || objType === 'STOB' || objType === 'Structured Object')) {
86
90
  console.log('');
87
91
  // Replace escaped newlines with actual newlines and display
88
92
  const displaySource = source.replace(/\\n/g, '\n');