Skip to content

Commit

Permalink
feat: program verzió kiírása induláskor
Browse files Browse the repository at this point in the history
  • Loading branch information
juzraai committed Oct 18, 2019
1 parent 47eb565 commit 15acdf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function configurate() {
if (!process.env.DIJNET_USER || !process.env.DIJNET_PASS) {
cli.printHelpAndExit();
}

}

module.exports = configurate;
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
const fs = require('fs');
const path = require('path');
const mkdirp = require('util').promisify(require('mkdirp'));
const packageJson = require('../package.json');
const configurate = require('./conf');
const { handleError } = require('./err');
const dijnet = require('./lib');
const log = require('./logger');

console.log(`Díjnet Bot v${packageJson.version}\n`);

configurate();

function tmp(name) {
Expand Down

0 comments on commit 15acdf3

Please sign in to comment.