File tree 2 files changed +6
-1
lines changed
modules/nextflow/src/main/groovy/nextflow/cli
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 {
85
85
target. preview = true
86
86
target. previewAction = this . &applyInspect
87
87
target. ansiLog = false
88
+ target. skipHistoryFile = true
88
89
// run it
89
90
target. run()
90
91
}
Original file line number Diff line number Diff line change @@ -266,6 +266,8 @@ class CmdRun extends CmdBase implements HubOptions {
266
266
@Parameter (names = [' -disable-jobs-cancellation' ], description = ' Prevent the cancellation of child jobs on execution termination' )
267
267
Boolean disableJobsCancellation
268
268
269
+ Boolean skipHistoryFile
270
+
269
271
Boolean getDisableJobsCancellation () {
270
272
return disableJobsCancellation!= null
271
273
? disableJobsCancellation
@@ -362,7 +364,9 @@ class CmdRun extends CmdBase implements HubOptions {
362
364
log. debug( ' \n ' + info )
363
365
364
366
// -- add this run to the local history
365
- runner. verifyAndTrackHistory(launcher. cliString, runName)
367
+ if ( ! skipHistoryFile ) {
368
+ runner. verifyAndTrackHistory(launcher. cliString, runName)
369
+ }
366
370
367
371
// -- run it!
368
372
runner. execute(scriptArgs, this . entryName)
You can’t perform that action at this time.
0 commit comments