Skip to content

Split the function into smaller pieces.. #18

@Hajto

Description

@Hajto

def extract(extractor) do

Usually it is a good idea to split that giant function into smaller pieces.

Pieces like these:

case SnapshotExtractor.update_extractor_status(extractor.id, %{status: 1}) do

They exist only for side effects and will form nice separate functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions