Commit e9c17597 authored by yann300's avatar yann300

warn message

parent a9d193c7
...@@ -10,6 +10,8 @@ program ...@@ -10,6 +10,8 @@ program
if (!program.sharedFolder) { if (!program.sharedFolder) {
program.outputHelp() program.outputHelp()
process.exit(1) process.exit(1)
} else {
console.log('\x1b[33m%s\x1b[0m', '[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.\n')
} }
var router = new Router() var router = new Router()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment