Log where the file was generated

This commit is contained in:
Jeroen Engels 2021-03-12 17:46:53 +01:00
parent fc36b15fc2
commit ce1579f9e8

View File

@ -71,6 +71,7 @@ async function createFile([elmJson, docsJson]) {
await fs.mkdir(path.dirname(relativeFilePath), { recursive: true });
await fs.writeFile(relativeFilePath, source);
await exec('npx elm-format --yes ' + relativeFilePath);
console.log("File created! You can find it at:\n ", relativeFilePath);
});
return;