mirror of
https://github.com/labs42io/clean-code-typescript.git
synced 2024-11-23 05:34:04 +00:00
add missing semicolon
This commit is contained in:
parent
915c881855
commit
b0771b8e8c
|
@ -773,7 +773,7 @@ const contributions = [
|
|||
];
|
||||
|
||||
const totalOutput = contributions
|
||||
.reduce((totalLines, output) => totalLines + output.linesOfCode, 0)
|
||||
.reduce((totalLines, output) => totalLines + output.linesOfCode, 0);
|
||||
```
|
||||
|
||||
**[⬆ back to top](#table-of-contents)**
|
||||
|
@ -2039,7 +2039,7 @@ import { promisify } from 'util';
|
|||
const write = util.promisify(writeFile);
|
||||
|
||||
function downloadPage(url: string, saveTo: string): Promise<string> {
|
||||
return get(url).then(response => write(saveTo, response))
|
||||
return get(url).then(response => write(saveTo, response));
|
||||
}
|
||||
|
||||
downloadPage('https://en.wikipedia.org/wiki/Robert_Cecil_Martin', 'article.html')
|
||||
|
|
Loading…
Reference in a new issue