devbonzai 1.7.1 → 1.7.3
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/cli.js +3 -3
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -806,7 +806,7 @@ function listAllFiles(dir, base = '', ignorePatterns = null) {
|
|
|
806
806
|
// Add functions
|
|
807
807
|
for (const func of parseResult.functions) {
|
|
808
808
|
const functionFileName = func.name + '.function';
|
|
809
|
-
const functionFilePath = filePath
|
|
809
|
+
const functionFilePath = path.join(filePath, functionFileName).replace(/\\\\/g, '/');
|
|
810
810
|
results.push(functionFilePath);
|
|
811
811
|
}
|
|
812
812
|
|
|
@@ -814,13 +814,13 @@ function listAllFiles(dir, base = '', ignorePatterns = null) {
|
|
|
814
814
|
for (const cls of parseResult.classes) {
|
|
815
815
|
// Add class itself (optional, but useful)
|
|
816
816
|
const className = cls.name + '.class';
|
|
817
|
-
const classFilePath = filePath
|
|
817
|
+
const classFilePath = path.join(filePath, className).replace(/\\\\/g, '/');
|
|
818
818
|
results.push(classFilePath);
|
|
819
819
|
|
|
820
820
|
// Add methods with dot notation: ClassName.methodName
|
|
821
821
|
for (const method of cls.methods) {
|
|
822
822
|
const methodFileName = method.name + '.method';
|
|
823
|
-
const methodFilePath = filePath
|
|
823
|
+
const methodFilePath = path.join(filePath, methodFileName).replace(/\\\\/g, '/');
|
|
824
824
|
results.push(methodFilePath);
|
|
825
825
|
}
|
|
826
826
|
}
|