|
@@ -10,7 +10,7 @@ const api = require('./api')
|
|
|
let example = path.resolve(__dirname, './config.example.js')
|
|
|
let config = path.resolve(__dirname, './config.js')
|
|
|
|
|
|
-if (fs.existsSync(config)) {
|
|
|
+if (!fs.existsSync(config)) {
|
|
|
fs.writeFileSync(config, fs.readFileSync(example))
|
|
|
}
|
|
|
|