@typeberry/jam 0.1.2-953c012 → 0.1.2-b7cae5d
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/block-generator/index.js +2 -2
- package/block-generator/index.js.map +1 -1
- package/importer/index.js +2 -2
- package/importer/index.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/jam-network/index.js +2 -2
- package/jam-network/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -35190,8 +35190,8 @@ function print(level, levelAndName, strings, data) {
|
|
|
35190
35190
|
return;
|
|
35191
35191
|
}
|
|
35192
35192
|
const lvlText = Level[level].padEnd(5);
|
|
35193
|
-
const val = strings.map((v, idx) => `${v}${
|
|
35194
|
-
const msg = `${lvlText} [${levelAndName[1]}] ${val
|
|
35193
|
+
const val = strings.map((v, idx) => `${v}${data[idx]}`);
|
|
35194
|
+
const msg = `${lvlText} [${levelAndName[1]}] ${val}`;
|
|
35195
35195
|
if (level === Level.WARN) {
|
|
35196
35196
|
console.warn(msg);
|
|
35197
35197
|
}
|