File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ const la = require('lazy-ass')
4
4
// to install multiple packages, use comma-separated list
5
5
const isNpmInstall = is . schema ( {
6
6
platform : is . maybe . unemptyString ,
7
+ arch : is . maybe . unemptyString ,
7
8
env : is . maybe . object ,
8
9
packages : is . unemptyString
9
10
} )
@@ -12,7 +13,7 @@ const isNpmInstall = is.schema({
12
13
* Returns given string surrounded by ```json + ``` quotes
13
14
* @param {string } s
14
15
*/
15
- const toJsonCodeBlock = ( s ) => {
16
+ const toJsonCodeBlock = s => {
16
17
const start = '```json'
17
18
const finish = '```'
18
19
@@ -23,7 +24,7 @@ const toJsonCodeBlock = (s) => {
23
24
* Converts given JSON object into markdown text block
24
25
* @param {object } object
25
26
*/
26
- const toMarkdownJsonBlock = ( object ) => {
27
+ const toMarkdownJsonBlock = object => {
27
28
la ( object , 'expected an object to convert to JSON' , object )
28
29
const str = JSON . stringify ( object , null , 2 )
29
30
You can’t perform that action at this time.
0 commit comments