@less-is-more/less-js 1.4.14 → 1.4.15

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/router.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@less-is-more/less-js",
3
- "version": "1.4.14",
3
+ "version": "1.4.15",
4
4
  "description": "Fast develop kit for nodejs",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/router.js CHANGED
@@ -161,9 +161,9 @@ module.exports = class Router {
161
161
 
162
162
  static _sendError(message, res, errorLevel = false) {
163
163
  if (errorLevel) {
164
- console.warn(message);
165
- } else {
166
164
  console.error(message);
165
+ } else {
166
+ console.warn(message);
167
167
  }
168
168
  if (this.#defaultFormat) {
169
169
  res.send(