Skip to content

Commit f76e827

Browse files
committed
add download count
1 parent 0749d2c commit f76e827

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

lib/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function reRunnerBuilder(runOptions) {
1616
everyCycleCallback,
1717
specsDir,
1818
longestProcessTime,
19+
spawn,
1920
formCommanWithOption: addSpecificOptionsBeforeRun,
2021
currentExecutionVariable
2122
} = runOptions
@@ -29,6 +30,7 @@ function reRunnerBuilder(runOptions) {
2930
*/
3031

3132
const executeCommandAsync = buildCommandExecutor(failedByAssert, {
33+
spawn,
3234
addSpecificOptionsBeforeRun,
3335
currentExecutionVariable,
3436
longestProcessTime,
@@ -123,7 +125,8 @@ module.exports = {
123125
debugProcess = false,
124126
formCommanWithOption,
125127
pollTime = 1000,
126-
currentExecutionVariable
128+
currentExecutionVariable,
129+
spawn = false
127130
} = {}) => {
128131

129132
const reformattedArgs = {
@@ -135,6 +138,7 @@ module.exports = {
135138
reformatCommand,
136139
stackAnalize,
137140
grepWord,
141+
spawn,
138142
currentExecutionVariable,
139143
everyCycleCallback,
140144
intervalPoll: getPollTime(pollTime)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "process-rerun",
3-
"version": "0.0.10",
3+
"version": "0.0.10-a",
44
"bin": {
55
"protractor-rerun": "./bin/rerun"
66
},

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ What is the problem ?
22
When some process failed we need tool for rerun that process controled times with some params.
33
In common cases we use protractor so next example for protractor
44

5+
![npm downloads](https://img.shields.io/npm/dm/process-rerun.svg?style=flat-square)
6+
57
# From command line
68
```sh
79
./node_modules/.bin/process-rerun --protractor --configPath=./protractor.conf.js --specDir=./specs

0 commit comments

Comments
 (0)