fix: add blank lines on empty seeds (#41348)
This commit is contained in:
@ -51,6 +51,7 @@ assert(code.match(/(\/\*)([^\/]{5,})(?=\*\/)/gm));
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -51,6 +51,7 @@ if(typeof myName !== "undefined"){(function(v){return v;})(myName);}
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -68,6 +68,7 @@ if(typeof myFirstName !== "undefined" && typeof myLastName !== "undefined"){(fun
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -38,6 +38,7 @@ if(typeof a !== 'undefined') {(function(a){return "a = " + a;})(a);} else { (fun
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -107,6 +107,7 @@ if (typeof functionWithArgs !== "function") {
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -59,6 +59,7 @@ assert(timesFive(0) === 0);
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -89,6 +89,7 @@ if (typeof reusableFunction !== "function") {
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -43,6 +43,7 @@ assert(
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -53,6 +53,7 @@ assert(typeof new Dog().numLegs === 'number');
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -57,6 +57,7 @@ assert.isTrue(/jquery(\s)+playground/gi.test($('h3').text()));
|
||||
## --seed-contents--
|
||||
|
||||
```html
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -91,6 +91,7 @@ ReactDOM.render(JSX, document.getElementById('root'))
|
||||
## --seed-contents--
|
||||
|
||||
```jsx
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
@ -68,6 +68,7 @@ getUserInput => {
|
||||
You can `GET` `/api/convert` with a single parameter containing an accepted number and unit and have it converted. (Hint: Split the input by looking for the index of the first character which will mark the start of the unit)
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
You can convert `'gal'` to `'L'` and vice versa. (1 gal to 3.78541 L)
|
||||
|
@ -33,6 +33,7 @@ assert(myMap.get('freeCodeCamp') === 'Awesome!');
|
||||
## --seed-contents--
|
||||
|
||||
```js
|
||||
|
||||
```
|
||||
|
||||
# --solutions--
|
||||
|
Reference in New Issue
Block a user