This commit is contained in:
Rhys Arkins 2018-12-14 21:47:34 +01:00
Родитель bfda8de611
Коммит 6e43913fec
4 изменённых файлов: 11 добавлений и 10 удалений

Просмотреть файл

@ -1,3 +1,2 @@
endOfLine: lf
singleQuote: true
trailingComma: "es5"

Просмотреть файл

@ -325,8 +325,9 @@ async function ensurePr(prConfig) {
async function addAssigneesReviewers(config, pr) {
if (config.assignees.length > 0) {
try {
const assignees = config.assignees.map(assignee =>
assignee.length && assignee[0] === '@' ? assignee.slice(1) : assignee
const assignees = config.assignees.map(
assignee =>
assignee.length && assignee[0] === '@' ? assignee.slice(1) : assignee
);
// istanbul ignore if
if (config.dryRun) {
@ -344,8 +345,9 @@ async function addAssigneesReviewers(config, pr) {
}
if (config.reviewers.length > 0) {
try {
const reviewers = config.reviewers.map(reviewer =>
reviewer.length && reviewer[0] === '@' ? reviewer.slice(1) : reviewer
const reviewers = config.reviewers.map(
reviewer =>
reviewer.length && reviewer[0] === '@' ? reviewer.slice(1) : reviewer
);
// istanbul ignore if
if (config.dryRun) {

Просмотреть файл

@ -152,7 +152,7 @@
"jest-silent-reporter": "0.1.1",
"mockdate": "2.0.2",
"nock": "10.0.4",
"prettier": "1.15.3",
"prettier": "1.14.3",
"pretty-quick": "1.8.0",
"semantic-release": "15.12.4",
"tmp-promise": "1.0.5"

Просмотреть файл

@ -6793,10 +6793,10 @@ preserve@^0.2.0:
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=
prettier@1.15.3:
version "1.15.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a"
integrity sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg==
prettier@1.14.3:
version "1.14.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.3.tgz#90238dd4c0684b7edce5f83b0fb7328e48bd0895"
integrity sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==
pretty-format@^23.6.0:
version "23.6.0"