@putout/test 5.5.1 → 5.5.2

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.
@@ -15,7 +15,7 @@ const processFile = require('putout/process-file');
15
15
  const {runProcessors} = require('@putout/engine-processor');
16
16
 
17
17
  const isStr = (a) => typeof a === 'string';
18
- const isUpdate = () => global.process.env.UPDATE;
18
+ const isUpdate = () => Number(global.process.env.UPDATE);
19
19
  const update = async (a, b) => {
20
20
  const write = global.writeFile || writeFile;
21
21
  await write(a, b);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "5.5.1",
3
+ "version": "5.5.2",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "test runner for putout plugins ",