Skip to content
Snippets Groups Projects
Commit 3660ff18 authored by James Ennis's avatar James Ennis
Browse files

_stream.py: Remove guess_element()

parent 2cb971f0
No related branches found
No related tags found
No related merge requests found
Pipeline #46742125 passed
......@@ -1075,12 +1075,6 @@ def artifact_push(app, elements, deps, remote):
@click.pass_obj
def artifact_log(app, artifacts):
"""Show logs of all artifacts"""
# Guess the element if we're in a workspace
if not artifacts:
guessed_target = app.context.guess_element()
if guessed_target:
artifacts = [guessed_target]
with app.initialized():
logsdirs = app.stream.artifact_log(artifacts)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment