Skip to content

Commit

Permalink
Merge pull request #298 from projectdiscovery/fix-no-json-in-workflow
Browse files Browse the repository at this point in the history
Fixed no json output when using workflows
  • Loading branch information
ehsandeep committed Sep 11, 2020
2 parents 9f8741a + 1c737b0 commit 63249ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/runner/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ func (r *Runner) preloadWorkflowTemplates(p progress.IProgress, workflow *workfl
ProxyURL: r.options.ProxyURL,
ProxySocksURL: r.options.ProxySocksURL,
CustomHeaders: r.options.CustomHeaders,
JSON: r.options.JSON,
JSONRequests: r.options.JSONRequests,
CookieJar: jar,
ColoredOutput: !r.options.NoColor,
Colorizer: r.colorizer,
Expand All @@ -237,6 +239,8 @@ func (r *Runner) preloadWorkflowTemplates(p progress.IProgress, workflow *workfl
Debug: r.options.Debug,
Template: t,
Writer: writer,
JSON: r.options.JSON,
JSONRequests: r.options.JSONRequests,
ColoredOutput: !r.options.NoColor,
Colorizer: r.colorizer,
Decolorizer: r.decolorizer,
Expand Down

0 comments on commit 63249ef

Please sign in to comment.