diff --git a/package.json b/package.json index 86a25d1..7b716c7 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "jest-junit": "^9.0.0", "minimatch": "^3.0.4", "mustache": "^3.1.0", - "prettier": "^1.18.2", + "prettier": "^1.19.1", "tar-fs": "^2.0.0", "ts-jest": "^24.2.0", "typescript": "^3.7.2" diff --git a/src/validate.ts b/src/validate.ts index 268e816..aa862ad 100644 --- a/src/validate.ts +++ b/src/validate.ts @@ -71,13 +71,10 @@ export async function getValidConfig( .split('\n') .filter(Boolean) .map((shaRef) => shaRef.split('\t')) - .reduce( - (acc, [sha, ref]) => { - acc[ref] = sha; - return acc; - }, - {} as CommitSHAMap, - ); + .reduce((acc, [sha, ref]) => { + acc[ref] = sha; + return acc; + }, {} as CommitSHAMap); const sha = shaRefMap.HEAD; debug(`SHA: ${sha}`); diff --git a/yarn.lock b/yarn.lock index cdb9f52..d2302fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3274,10 +3274,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@^1.18.2: - version "1.18.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea" - integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw== +prettier@^1.19.1: + version "1.19.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" + integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== pretty-format@^24.9.0: version "24.9.0"