@putout/test 9.0.0 → 9.0.1

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/lib/test.js +1 -1
  2. package/package.json +1 -1
package/lib/test.js CHANGED
@@ -607,7 +607,7 @@ function parseOptions(plugin) {
607
607
  }
608
608
 
609
609
  function checkReport(name, message) {
610
- if (!message) {
610
+ if (!isString(message) && !message) {
611
611
  const help = `☝️ Looks like you forget to pass the 'message' for 'report()' operator`;
612
612
  const source = `report(name: string, message: string): Operator`;
613
613
  const values = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Test runner for 🐊Putout plugins ",