create-fastify-app
Advanced tools
Comparing version 1.5.12 to 1.6.0
@@ -46,3 +46,3 @@ #! /usr/bin/env node | ||
if (dirExist) { | ||
log('error', 'Project folder already exist\n') | ||
log('error', `Project folder ${dir} already exist\n`) | ||
module.exports.stop() | ||
@@ -49,0 +49,0 @@ } |
{ | ||
"name": "create-fastify-app", | ||
"version": "1.5.12", | ||
"version": "1.6.0", | ||
"description": "A Fastify application generator", | ||
@@ -5,0 +5,0 @@ "main": "create-fastify-app.js", |
@@ -22,2 +22,10 @@ # create-fastify-app | ||
## Enable autocompletion | ||
run the following command from your terminal. Pay attention to the `. ./` or the autocompletion feature won't start. | ||
``` | ||
. ./cfa-autocompletion.sh | ||
``` | ||
## Usage | ||
@@ -287,2 +295,2 @@ | ||
Licensed under [MIT](./LICENSE). | ||
Licensed under [MIT](./LICENSE). |
@@ -14,3 +14,3 @@ 'use strict' | ||
).then(out => { | ||
t.ok(out.indexOf('Project folder already exist') !== -1) | ||
t.ok(out.indexOf(`Project folder ${process.cwd()} already exist`) !== -1) | ||
}) | ||
@@ -17,0 +17,0 @@ }) |
488727
73
295