Skip to content

Commit

Permalink
Merge pull request #167 from robcresswell/fix/update-deps
Browse files Browse the repository at this point in the history
fix: update dependencies
  • Loading branch information
robcresswell authored Nov 29, 2019
2 parents 6efbd08 + dab98d1 commit 7643278
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
11 changes: 4 additions & 7 deletions src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7643278

Please sign in to comment.