Remove superfluous commas from example repo README (#158)

Summary:
Using `array.join()` added commas at the start of some lines; I meant to
use `array.join("")`.

(I’ve now inspected the full generated contents of both repos, and they
look good.)

Test Plan:
It is expected that these attributes of the snapshots should change.
There’s no need to carefully check the SHAs.

wchargin-branch: readme-change
This commit is contained in:
William Chargin 2018-04-27 11:48:40 -07:00 committed by GitHub
parent 8e9ddbf9fc
commit c7235f6e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 54 deletions

View File

@ -3,37 +3,37 @@
exports[`loadRepository loads from HEAD 1`] = `
Object {
"commits": Map {
"3507b7c8690e329477c76b73f8511f78fdbafe52" => Object {
"hash": "3507b7c8690e329477c76b73f8511f78fdbafe52",
"treeHash": "aeb32ba2769e46068cc09aa05723b5dd81c2e3a0",
"3715ddfb8d4c4fd2a6f6af75488c82f84c92ec2f" => Object {
"hash": "3715ddfb8d4c4fd2a6f6af75488c82f84c92ec2f",
"treeHash": "7be3ecfee5314ffa9b2d93fc4377792b2d6d70ed",
},
"1468ff8437299dc4aa426996784be30a87226007" => Object {
"hash": "1468ff8437299dc4aa426996784be30a87226007",
"treeHash": "77e66e35964b9c0a2cde52fb2640d3004b742feb",
"69c5aad50eec8f2a0a07c988c3b283a6490eb45b" => Object {
"hash": "69c5aad50eec8f2a0a07c988c3b283a6490eb45b",
"treeHash": "bbf3b8b3d26a4f884b5c022d46851f593d329192",
},
"d6693032379c8c55aafc72ad355db29ce71396b0" => Object {
"hash": "d6693032379c8c55aafc72ad355db29ce71396b0",
"treeHash": "c32b1ddc3a622e7a7e30c0b3f56a78eaed19cfab",
"e8b7a8f19701cd5a25e4a097d513ead60e5f8bcc" => Object {
"hash": "e8b7a8f19701cd5a25e4a097d513ead60e5f8bcc",
"treeHash": "819fc546cea489476ce8dc90785e9ba7753d0a8f",
},
"fb67eef11f7f34e4ad530ce36624c47fef0cd2e2" => Object {
"hash": "fb67eef11f7f34e4ad530ce36624c47fef0cd2e2",
"treeHash": "b936e6133d3316250f0a91779f72c72141279941",
"d160cca97611e9dfed642522ad44408d0292e8ea" => Object {
"hash": "d160cca97611e9dfed642522ad44408d0292e8ea",
"treeHash": "569e1d383759903134df75230d63c0090196d4cb",
},
"849572148969b2c3480e8479604ccba3b189092a" => Object {
"hash": "849572148969b2c3480e8479604ccba3b189092a",
"treeHash": "e5e3b135d4f7d03e9906aead28c7757aa2b676bd",
"8d287c3bfbf8455ef30187bf5153ffc1b6eef268" => Object {
"hash": "8d287c3bfbf8455ef30187bf5153ffc1b6eef268",
"treeHash": "3dfb84795e07341b05fad3a0d5a55f8304b2d7d8",
},
"db7608c2b4eba9ca72c6e3d636a7795cf9bcb97d" => Object {
"hash": "db7608c2b4eba9ca72c6e3d636a7795cf9bcb97d",
"treeHash": "5822dfcc81bf3ef8f99f68a21a33d07386fbd7b8",
"c08ee3a4edea384d5291ffcbf06724a13ed72325" => Object {
"hash": "c08ee3a4edea384d5291ffcbf06724a13ed72325",
"treeHash": "2f7155e359fd0ecb96ffdca66fa45b6ed5792809",
},
"486bb61573b09069dc9a55023b06e72049f8556d" => Object {
"hash": "486bb61573b09069dc9a55023b06e72049f8556d",
"treeHash": "79ee2359849733d6a51fd1b5da1cebdbaa29254f",
"c2b51945e7457546912a8ce158ed9d294558d294" => Object {
"hash": "c2b51945e7457546912a8ce158ed9d294558d294",
"treeHash": "bdff5d94193170015d6cbb549b7b630649428b1f",
},
},
"trees": Map {
"aeb32ba2769e46068cc09aa05723b5dd81c2e3a0" => Object {
"7be3ecfee5314ffa9b2d93fc4377792b2d6d70ed" => Object {
"entries": Map {
".gitmodules" => Object {
"hash": "8c6cac301e763aa6d36466e0a775eb804be2c311",
@ -41,7 +41,7 @@ Object {
"type": "blob",
},
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
@ -61,9 +61,9 @@ Object {
"type": "tree",
},
},
"hash": "aeb32ba2769e46068cc09aa05723b5dd81c2e3a0",
"hash": "7be3ecfee5314ffa9b2d93fc4377792b2d6d70ed",
},
"77e66e35964b9c0a2cde52fb2640d3004b742feb" => Object {
"bbf3b8b3d26a4f884b5c022d46851f593d329192" => Object {
"entries": Map {
".gitmodules" => Object {
"hash": "8c6cac301e763aa6d36466e0a775eb804be2c311",
@ -71,7 +71,7 @@ Object {
"type": "blob",
},
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
@ -96,9 +96,9 @@ Object {
"type": "tree",
},
},
"hash": "77e66e35964b9c0a2cde52fb2640d3004b742feb",
"hash": "bbf3b8b3d26a4f884b5c022d46851f593d329192",
},
"c32b1ddc3a622e7a7e30c0b3f56a78eaed19cfab" => Object {
"819fc546cea489476ce8dc90785e9ba7753d0a8f" => Object {
"entries": Map {
".gitmodules" => Object {
"hash": "8c6cac301e763aa6d36466e0a775eb804be2c311",
@ -106,7 +106,7 @@ Object {
"type": "blob",
},
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
@ -131,9 +131,9 @@ Object {
"type": "tree",
},
},
"hash": "c32b1ddc3a622e7a7e30c0b3f56a78eaed19cfab",
"hash": "819fc546cea489476ce8dc90785e9ba7753d0a8f",
},
"b936e6133d3316250f0a91779f72c72141279941" => Object {
"569e1d383759903134df75230d63c0090196d4cb" => Object {
"entries": Map {
".gitmodules" => Object {
"hash": "8c6cac301e763aa6d36466e0a775eb804be2c311",
@ -141,7 +141,7 @@ Object {
"type": "blob",
},
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
@ -166,9 +166,9 @@ Object {
"type": "tree",
},
},
"hash": "b936e6133d3316250f0a91779f72c72141279941",
"hash": "569e1d383759903134df75230d63c0090196d4cb",
},
"e5e3b135d4f7d03e9906aead28c7757aa2b676bd" => Object {
"3dfb84795e07341b05fad3a0d5a55f8304b2d7d8" => Object {
"entries": Map {
".gitmodules" => Object {
"hash": "8c6cac301e763aa6d36466e0a775eb804be2c311",
@ -176,7 +176,7 @@ Object {
"type": "blob",
},
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
@ -191,12 +191,12 @@ Object {
"type": "blob",
},
},
"hash": "e5e3b135d4f7d03e9906aead28c7757aa2b676bd",
"hash": "3dfb84795e07341b05fad3a0d5a55f8304b2d7d8",
},
"5822dfcc81bf3ef8f99f68a21a33d07386fbd7b8" => Object {
"2f7155e359fd0ecb96ffdca66fa45b6ed5792809" => Object {
"entries": Map {
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
@ -206,17 +206,17 @@ Object {
"type": "blob",
},
},
"hash": "5822dfcc81bf3ef8f99f68a21a33d07386fbd7b8",
"hash": "2f7155e359fd0ecb96ffdca66fa45b6ed5792809",
},
"79ee2359849733d6a51fd1b5da1cebdbaa29254f" => Object {
"bdff5d94193170015d6cbb549b7b630649428b1f" => Object {
"entries": Map {
"README.txt" => Object {
"hash": "6e70bfb555b270a017c743df4cd7d35d5337e0ef",
"hash": "0fb31858c8e3710be77e1dbb8880acf8a5543d82",
"name": "README.txt",
"type": "blob",
},
},
"hash": "79ee2359849733d6a51fd1b5da1cebdbaa29254f",
"hash": "bdff5d94193170015d6cbb549b7b630649428b1f",
},
"78fc9c83023386854c6bfdc5761c0e58f68e226f" => Object {
"entries": Map {
@ -255,12 +255,12 @@ Object {
exports[`loadRepository processes an old commit 1`] = `
Object {
"commits": Set {
"db7608c2b4eba9ca72c6e3d636a7795cf9bcb97d",
"486bb61573b09069dc9a55023b06e72049f8556d",
"c08ee3a4edea384d5291ffcbf06724a13ed72325",
"c2b51945e7457546912a8ce158ed9d294558d294",
},
"trees": Set {
"5822dfcc81bf3ef8f99f68a21a33d07386fbd7b8",
"79ee2359849733d6a51fd1b5da1cebdbaa29254f",
"2f7155e359fd0ecb96ffdca66fa45b6ed5792809",
"bdff5d94193170015d6cbb549b7b630649428b1f",
},
}
`;

View File

@ -2,13 +2,13 @@
exports[`createExampleRepo is deterministic 1`] = `
Array [
"486bb61573b09069dc9a55023b06e72049f8556d",
"db7608c2b4eba9ca72c6e3d636a7795cf9bcb97d",
"849572148969b2c3480e8479604ccba3b189092a",
"fb67eef11f7f34e4ad530ce36624c47fef0cd2e2",
"d6693032379c8c55aafc72ad355db29ce71396b0",
"1468ff8437299dc4aa426996784be30a87226007",
"3507b7c8690e329477c76b73f8511f78fdbafe52",
"c2b51945e7457546912a8ce158ed9d294558d294",
"c08ee3a4edea384d5291ffcbf06724a13ed72325",
"8d287c3bfbf8455ef30187bf5153ffc1b6eef268",
"d160cca97611e9dfed642522ad44408d0292e8ea",
"e8b7a8f19701cd5a25e4a097d513ead60e5f8bcc",
"69c5aad50eec8f2a0a07c988c3b283a6490eb45b",
"3715ddfb8d4c4fd2a6f6af75488c82f84c92ec2f",
]
`;

View File

@ -48,7 +48,7 @@ export function createExampleRepo(intoDirectory: string): RepositoryInfo {
"-----------\n\n",
"This repository provides example data for the SourceCred Git plugin.\n",
"Pay no attention to the contents behind the curtain.\n",
].join()
].join("")
);
commit("Initial commit");