style: auto format codebase

This commit is contained in:
Jean-Philippe Sirois
2021-10-26 13:55:12 -04:00
parent 30f988a5fe
commit cf4d3b2cc8
34 changed files with 457 additions and 378 deletions
@@ -118,9 +118,9 @@ if(password == "1234")
string password = Console.ReadLine();
if(password == "1234") { Console.WriteLine("Correct password!"); }
if(password == "4321")
{
Console.WriteLine("Correct password!");
if(password == "4321")
{
Console.WriteLine("Correct password!");
}
```
@@ -116,9 +116,9 @@ async function getCharacters() {
// or, mixed
async function getCharacters() {
const data = await fetch(
`https://rickandmortyapi.com/api/character`
).then((res) => res.json());
const data = await fetch(`https://rickandmortyapi.com/api/character`).then(
(res) => res.json()
);
return data.results;
}