whistle 2.10.7 → 2.10.9

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/bin/whistle.js CHANGED
@@ -199,7 +199,7 @@ if (cmd === 'root') {
199
199
  if (file) {
200
200
  root = path.join(root, file);
201
201
  }
202
- process.stdout.write(root);
202
+ console.log(root);
203
203
  } else if (cmd === 'status') {
204
204
  var all = argv[3] === '--all' || argv[3] === '-l';
205
205
  if (argv[3] === '-S') {
@@ -148,7 +148,7 @@ exports.getClientIp = util.getClientIp;
148
148
 
149
149
  function sendError(res, err) {
150
150
  util.sendRes(res, 500, config.debugMode ?
151
- '<pre>' + util.encodeHtml(util.getErrorStack(err)) + '</pre>' : 'Internal Server Error');
151
+ '<pre>' + util.encodeHtml(util.getErrorStack(err)) + '</pre>' : 'Internal server error');
152
152
  }
153
153
 
154
154
  exports.sendError = sendError;
@@ -8,6 +8,6 @@
8
8
  </head>
9
9
  <body>
10
10
  <div id="container" class="main"></div>
11
- <script src="js/index.js?v=2.10.7"></script>
11
+ <script src="js/index.js?v=2.10.9"></script>
12
12
  </body>
13
13
  </html>