hive-forge: refuse_json for pr diff names the verb that actually exists
This commit is contained in:
parent
e18497bb70
commit
c531d39537
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ pub struct Args {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn run(client: &Client, args: Args) -> Result<()> {
|
pub fn run(client: &Client, args: Args) -> Result<()> {
|
||||||
refuse_json(client.json_mode(), "diff", "a diff is text by nature")?;
|
refuse_json(client.json_mode(), "pr diff", "a diff is text by nature")?;
|
||||||
let (owner, name) = client.owner_repo()?;
|
let (owner, name) = client.owner_repo()?;
|
||||||
let diff = client
|
let diff = client
|
||||||
.api()
|
.api()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue