mushroom-cli 1.2.0-alpha.6 → 1.2.0-alpha.6.1
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/gen/gen-csharp.js +1 -1
- package/package.json +1 -1
package/gen/gen-csharp.js
CHANGED
|
@@ -638,7 +638,7 @@ function generateCSharpClassMongoDbToFolder(source, className, fields, isRoot, d
|
|
|
638
638
|
|
|
639
639
|
let strEnumClasses = generateEnumClass(source, {}, field, `${className.toUpperCase()}_${propertyName.toUpperCase()}_ENUM`);
|
|
640
640
|
|
|
641
|
-
const match = strEnumClasses.match(/public class\s+(\w+)/);
|
|
641
|
+
const match = strEnumClasses.match(/public partial class\s+(\w+)/);
|
|
642
642
|
if (!match) continue;
|
|
643
643
|
common.ensureFolder(aliasProject.output + "/Enums", true);
|
|
644
644
|
strEnumClasses = `${header}
|