Skip to content

Commit

Permalink
build(fix): proper path to node for custom commands in frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Nov 15, 2022
1 parent ad1e8db commit 83cabeb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/config/frontmatter/partials/custom-scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.custom.scripts": [
{
"title": "Generate social image for Youtube",
"command": "~/.config/nvm/versions/node/v18.12.1/bin/node",
"script": "./assets/config/frontmatter/scripts/create-youtube-header-image.js",
"command": "~/.config/nvm/versions/node/v18.0.0/bin/node"
"title": "Generate social image for Youtube"
},
{
"title": "Retrieve Unsplash image",
"command": "~/.config/nvm/versions/node/v18.12.1/bin/node",
"script": "./assets/config/frontmatter/scripts/retrieve-unsplash-header-image-info.js",
"command": "~/.config/nvm/versions/node/v18.0.0/bin/node"
"title": "Retrieve Unsplash image"
}
]
}

0 comments on commit 83cabeb

Please sign in to comment.