Skip to content

Commit

Permalink
Move script files
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlen22 committed May 20, 2018
1 parent d207239 commit bf148fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion cat-server-log.js

This file was deleted.

1 change: 1 addition & 0 deletions scripts/cat-server-log.js
@@ -0,0 +1 @@
console.log(require('fs').readFileSync(process.argv[2] || '../server.log', 'utf8'));
4 changes: 3 additions & 1 deletion settings-upgrade.js → scripts/settings-upgrade.js
@@ -1,4 +1,6 @@
const settings = require('./settings.json');
const path = require('path');
const settings = require(process.argv[2] || path.resolve(__dirname, '../settings.json'));
if(process.argv[3] !== "iknow") throw "This script is not finished yet.";

function walkTree(item, key){
if(typeof item === "object") {
Expand Down

0 comments on commit bf148fe

Please sign in to comment.