mm_os 4.1.6 → 4.1.7
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/com/db/drive.js +1 -1
- package/package.json +1 -1
package/com/db/drive.js
CHANGED
|
@@ -105,7 +105,6 @@ Drive.prototype._parseFieldNote = function (note, tp, max_length) {
|
|
|
105
105
|
var local_max_length = max_length;
|
|
106
106
|
|
|
107
107
|
if (desc) {
|
|
108
|
-
description = desc.right(']', true).left('(', true).trim();
|
|
109
108
|
var range = desc.between('[', ']');
|
|
110
109
|
if (range) {
|
|
111
110
|
var min_str = range.left(',', true);
|
|
@@ -125,6 +124,7 @@ Drive.prototype._parseFieldNote = function (note, tp, max_length) {
|
|
|
125
124
|
}
|
|
126
125
|
}
|
|
127
126
|
map = desc.between('(', ')');
|
|
127
|
+
description = desc.right(']', true).replace(`(${map})`, '').trim();
|
|
128
128
|
}
|
|
129
129
|
let min_length = 0;
|
|
130
130
|
if (min > 0) {
|