Travis build: 940

This commit is contained in:
30secondsofcode
2019-01-09 17:51:33 +00:00
parent 12ae4983e8
commit 2d445ddd68
19 changed files with 144 additions and 487 deletions

View File

@ -6,7 +6,7 @@ Use `fs.existsSync()` to check if the directory exists, `fs.mkdirSync()` to crea
```js
const fs = require('fs');
const createDirIfNotExists = dir => !fs.existsSync(dir) ? fs.mkdirSync(dir) : undefined;
const createDirIfNotExists = dir => (!fs.existsSync(dir) ? fs.mkdirSync(dir) : undefined);
```
```js