]> git.r.bdr.sh - rbdr/dead-drop/blame - bin/dead_drop.js
Merge branch 'hotfix/1.0.1' into 'master'
[rbdr/dead-drop] / bin / dead_drop.js
CommitLineData
5e981bca
RBR
1#!/usr/bin/env node
2'use strict';
3
4const Config = require('../config/config');
5const DeadDrop = require('..');
6
7const internals = {};
8
9internals.deadDrop = new DeadDrop(Config);
10
11internals.main = () => {
12
13 internals.deadDrop.run().catch((err) => {
14
15 console.error(err.stack || err.message || err);
16 process.exit(1);
17 });
18};
19
20internals.main();