tedious 6.6.1 → 6.6.2
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/lib/bulk-load.js +4 -8
- package/package.json +1 -1
- package/pull_request_template.md +1 -1
package/lib/bulk-load.js
CHANGED
|
@@ -128,16 +128,12 @@ class BulkLoad extends _events.EventEmitter {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
if (type.
|
|
132
|
-
|
|
133
|
-
column.precision = type.resolvePrecision(column);
|
|
134
|
-
}
|
|
131
|
+
if (type.resolvePrecision && column.precision == null) {
|
|
132
|
+
column.precision = type.resolvePrecision(column);
|
|
135
133
|
}
|
|
136
134
|
|
|
137
|
-
if (type.
|
|
138
|
-
|
|
139
|
-
column.scale = type.resolveScale(column);
|
|
140
|
-
}
|
|
135
|
+
if (type.resolveScale && column.scale == null) {
|
|
136
|
+
column.scale = type.resolveScale(column);
|
|
141
137
|
}
|
|
142
138
|
|
|
143
139
|
this.columns.push(column);
|
package/package.json
CHANGED
package/pull_request_template.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
3. After bug fix/code change, ensure all the existing tests and new tests (if any) pass (`npm run-script test-all`). During development, to run individual test use `node_modules/nodeunit test/<test_file.js> -t <test_name>`.
|
|
5
5
|
4. Build the driver (`npm run build`).
|
|
6
6
|
5. Run eslint and flow typechecker (`npm run lint`).
|
|
7
|
-
6. Run commitlint (`node_modules/.bin/commitlint --from origin/master --to HEAD`). Refer [commit conventions](
|
|
7
|
+
6. Run commitlint (`node_modules/.bin/commitlint --from origin/master --to HEAD`). Refer [commit conventions](https://commitlint.js.org/#/concepts-commit-conventions) and [commit rules](https://commitlint.js.org/#/reference-rules).
|
|
8
8
|
|
|
9
9
|
**Thank you for Contributing!**
|