swico 0.8.3-beta4 → 0.8.3-beta5
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
CHANGED
package/src/utils/tools.js
CHANGED
|
@@ -218,11 +218,11 @@ exports.toast = {
|
|
|
218
218
|
console.log("".concat(chalk_1.default.red.bold('error'), " - ").concat(title || 'There are some errors about Swico', "\uFF1A \n"));
|
|
219
219
|
if (Array.isArray(message)) {
|
|
220
220
|
message.forEach(function (item) {
|
|
221
|
-
console.log("
|
|
221
|
+
console.log("> ".concat(chalk_1.default.red.bold(item)));
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
else if (message) {
|
|
225
|
-
console.log("
|
|
225
|
+
console.log("> ".concat(chalk_1.default.red.bold(message)));
|
|
226
226
|
}
|
|
227
227
|
console.log('\n');
|
|
228
228
|
},
|
|
@@ -230,11 +230,11 @@ exports.toast = {
|
|
|
230
230
|
console.log("".concat(chalk_1.default.hex('#fb8918').bold('warning'), " - ").concat(title || 'There are some warnings about Swico', "\uFF1A \n"));
|
|
231
231
|
if (Array.isArray(message)) {
|
|
232
232
|
message.forEach(function (item) {
|
|
233
|
-
console.log("
|
|
233
|
+
console.log("> ".concat(chalk_1.default.hex('#fb8918').bold(item)));
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
236
|
else if (message) {
|
|
237
|
-
console.log("
|
|
237
|
+
console.log("> ".concat(chalk_1.default.hex('#fb8918').bold(message)));
|
|
238
238
|
}
|
|
239
239
|
console.log('\n');
|
|
240
240
|
}
|