mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
Log where the file was generated
This commit is contained in:
parent
fc36b15fc2
commit
ce1579f9e8
@ -71,6 +71,7 @@ async function createFile([elmJson, docsJson]) {
|
|||||||
await fs.mkdir(path.dirname(relativeFilePath), { recursive: true });
|
await fs.mkdir(path.dirname(relativeFilePath), { recursive: true });
|
||||||
await fs.writeFile(relativeFilePath, source);
|
await fs.writeFile(relativeFilePath, source);
|
||||||
await exec('npx elm-format --yes ' + relativeFilePath);
|
await exec('npx elm-format --yes ' + relativeFilePath);
|
||||||
|
console.log("File created! You can find it at:\n ", relativeFilePath);
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user