Skip to content
Discussion options

You must be logged in to vote

Oh, thanks, I'll restore those files in the next build. I probably should re-visit what the tutorial teaches anyway, I haven't touched it in a long time.

Install restore-tutorial

Here's a quick script that will restore the tutorial files:

let remoteOldTemplates = `https://raw.githubusercontent.com/johnlindquist/kenv/5e1752eef684467b38159162a8c778b789158672/templates/`
let templatesPath = kenvPath("templates")

let files = ["tutorial.js", "tutorial.md"]

for await (let file of files) {
  await download(
    `${remoteOldTemplates}${file}`,
    templatesPath
  )
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stevebarakat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Errors
Labels
None yet
2 participants