Format snippets
This commit is contained in:
@ -14,5 +14,6 @@ const createDirIfNotExists = dir => (!fs.existsSync(dir) ? fs.mkdirSync(dir) : u
|
||||
```
|
||||
|
||||
```js
|
||||
createDirIfNotExists('test'); // creates the directory 'test', if it doesn't exist
|
||||
createDirIfNotExists('test');
|
||||
// creates the directory 'test', if it doesn't exist
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user