@stepci/runner
Advanced tools
Comparing version 1.11.6 to 1.11.7
@@ -183,3 +183,3 @@ /// <reference types="node" /> | ||
export declare type HTTPStepCheck = { | ||
status?: number | Matcher[]; | ||
status?: string | number | Matcher[]; | ||
statusText?: string | Matcher[]; | ||
@@ -186,0 +186,0 @@ redirected?: boolean; |
@@ -196,2 +196,7 @@ "use strict"; | ||
if (step.http.json) { | ||
if (!step.http.headers) | ||
step.http.headers = {}; | ||
if (!step.http.headers['Content-Type']) { | ||
step.http.headers['Content-Type'] = 'application/json'; | ||
} | ||
requestBody = JSON.stringify(step.http.json); | ||
@@ -198,0 +203,0 @@ } |
{ | ||
"name": "@stepci/runner", | ||
"version": "1.11.6", | ||
"version": "1.11.7", | ||
"description": "Step CI Runner", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
94386
1740