mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Shorten excuse prompt in arc diff
Test Plan: `arc diff` on a commit with lint error. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2595
This commit is contained in:
parent
4eb6b97097
commit
61b0cfac63
1 changed files with 2 additions and 2 deletions
|
@ -1120,7 +1120,7 @@ EOTEXT
|
||||||
$this->lintExcuse = $this->getArgument('excuse');
|
$this->lintExcuse = $this->getArgument('excuse');
|
||||||
} else {
|
} else {
|
||||||
$this->lintExcuse = $this->getErrorExcuse(
|
$this->lintExcuse = $this->getErrorExcuse(
|
||||||
"Provide an explanation for the lint failures:",
|
"Explanation:",
|
||||||
$repository_api->getScratchFilePath('lint-excuses'));
|
$repository_api->getScratchFilePath('lint-excuses'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1192,7 +1192,7 @@ EOTEXT
|
||||||
$this->unitExcuse = $this->getArgument('excuse');
|
$this->unitExcuse = $this->getArgument('excuse');
|
||||||
} else {
|
} else {
|
||||||
$this->unitExcuse = $this->getErrorExcuse(
|
$this->unitExcuse = $this->getErrorExcuse(
|
||||||
"Provide an explanation for the unit test failures:",
|
"Explanation:",
|
||||||
$repository_api->getScratchFilePath('unit-excuses'));
|
$repository_api->getScratchFilePath('unit-excuses'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue