Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/cmd/deploy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ pub fn deploy(opts: DeployOptions) -> Result<(), Box<dyn Error>> {
println!("Add your presentation to oseda.net by making a Pull Request at:");
println!();
println!("{}", pull_request_url);

if open::that(pull_request_url.clone()).is_err() {
return Err(format!("Please visit {pull_request_url} in a browser and submit a pull-request by hand").into());
};

}
None => {
println!("Error: could not get github username");
Expand Down
Loading