theprogrammablemind 7.5.8-beta.80 → 7.5.8-beta.82
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 +1 -1
- package/src/config.js +4 -4
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -994,15 +994,15 @@ class Config {
|
|
994
994
|
config.generators = (config.generators || []).map((generator) => {
|
995
995
|
generator = {...generator}
|
996
996
|
delete generator.where
|
997
|
-
generator.match = generator.match.toString()
|
998
|
-
generator.apply = generator.apply.toString()
|
997
|
+
generator.match = generator.match.toString().replace(/(\r\n|\n|\r| )/gm, "");
|
998
|
+
generator.apply = generator.apply.toString().replace(/(\r\n|\n|\r| )/gm, "");
|
999
999
|
return generator
|
1000
1000
|
})
|
1001
1001
|
config.semantics = (config.semantics || []).map((semantic) => {
|
1002
1002
|
semantic = {...semantic}
|
1003
1003
|
delete semantic.where
|
1004
|
-
semantic.match = semantic.match.toString()
|
1005
|
-
semantic.apply = semantic.apply.toString()
|
1004
|
+
semantic.match = semantic.match.toString().replace(/(\r\n|\n|\r| )/gm, "");
|
1005
|
+
semantic.apply = semantic.apply.toString().replace(/(\r\n|\n|\r| )/gm, "");
|
1006
1006
|
return semantic
|
1007
1007
|
})
|
1008
1008
|
}
|