Skip to content

Commit

Permalink
feat: adds success message to subgraph publish/delete (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper authored Jul 22, 2021
1 parent 4cbd3a2 commit b621839
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/command/subgraph/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ fn handle_response(response: DeleteServiceResponse, subgraph: &str, graph_ref: &
warn_prefix,
errors.join("\n")
)
} else {
eprintln!("There were no composition errors as a result of deleting the subgraph.");
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/command/subgraph/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ fn handle_publish_response(response: PublishPartialSchemaResponse, subgraph: &st
warn_prefix,
errors.join("\n")
);
} else {
eprintln!("There were no composition errors as a result of publishing the subgraph.");
}
}

Expand Down

0 comments on commit b621839

Please sign in to comment.