File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
modules/nextflow/src/main/groovy/nextflow/cli Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ class CmdInspect extends CmdBase {
8585 target. preview = true
8686 target. previewAction = this . &applyInspect
8787 target. ansiLog = false
88+ target. skipHistoryFile = true
8889 // run it
8990 target. run()
9091 }
Original file line number Diff line number Diff line change @@ -266,6 +266,8 @@ class CmdRun extends CmdBase implements HubOptions {
266266 @Parameter (names = [' -disable-jobs-cancellation' ], description = ' Prevent the cancellation of child jobs on execution termination' )
267267 Boolean disableJobsCancellation
268268
269+ Boolean skipHistoryFile
270+
269271 Boolean getDisableJobsCancellation () {
270272 return disableJobsCancellation!= null
271273 ? disableJobsCancellation
@@ -362,7 +364,9 @@ class CmdRun extends CmdBase implements HubOptions {
362364 log. debug( ' \n ' + info )
363365
364366 // -- add this run to the local history
365- runner. verifyAndTrackHistory(launcher. cliString, runName)
367+ if ( ! skipHistoryFile ) {
368+ runner. verifyAndTrackHistory(launcher. cliString, runName)
369+ }
366370
367371 // -- run it!
368372 runner. execute(scriptArgs, this . entryName)
You can’t perform that action at this time.
0 commit comments