Skip to content

Commit 0a4da4e

Browse files
committed
added bypass for local pipelines in offline mode
Signed-off-by: Mathias Rahbek-Borre <[email protected]>
1 parent 453ab6a commit 0a4da4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nextflow/src/main/groovy/nextflow/cli/CmdRun.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ class CmdRun extends CmdBase implements HubOptions {
585585

586586
boolean checkForUpdate = true
587587
if( !manager.isRunnable() || latest ) {
588-
if( offline )
588+
if( offline && !pipelineName.startsWith('file:/' ) )
589589
throw new AbortOperationException("Unknown project `$repo` -- NOTE: automatic download from remote repositories is disabled")
590590
log.info "Pulling $repo ..."
591591
def result = manager.download(revision,deep)

0 commit comments

Comments
 (0)