@abaplint/cli 2.113.17 → 2.113.18
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/build/cli.js +13 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -1009,10 +1009,18 @@ async function run(arg) {
|
|
|
1009
1009
|
if (config.get().global.files === undefined) {
|
|
1010
1010
|
throw "Error: Update abaplint configuration file to latest format";
|
|
1011
1011
|
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1012
|
+
if (arg.file) {
|
|
1013
|
+
const files = file_operations_1.FileOperations.loadFileNames(base + arg.file);
|
|
1014
|
+
loaded = await file_operations_1.FileOperations.loadFiles(arg.compress, files, progress);
|
|
1015
|
+
}
|
|
1016
|
+
else {
|
|
1017
|
+
const configFiles = config.get().global.files;
|
|
1018
|
+
const filesList = Array.isArray(configFiles) ? configFiles : [configFiles];
|
|
1019
|
+
for (const l of filesList) {
|
|
1020
|
+
const files = file_operations_1.FileOperations.loadFileNames(base + l);
|
|
1021
|
+
loaded.push(...await file_operations_1.FileOperations.loadFiles(arg.compress, files, progress));
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1016
1024
|
deps = await loadDependencies(config, arg.compress, progress, base);
|
|
1017
1025
|
reg = new core_1.Registry(config);
|
|
1018
1026
|
reg.addDependencies(deps);
|
|
@@ -52747,7 +52755,7 @@ class Registry {
|
|
|
52747
52755
|
}
|
|
52748
52756
|
static abaplintVersion() {
|
|
52749
52757
|
// magic, see build script "version.sh"
|
|
52750
|
-
return "2.113.
|
|
52758
|
+
return "2.113.18";
|
|
52751
52759
|
}
|
|
52752
52760
|
getDDICReferences() {
|
|
52753
52761
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.18",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.18",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|