This commit is contained in:
portree_kid
2020-05-03 09:48:38 +02:00
parent cb2f9c69ab
commit 59d58b05ab
6 changed files with 64 additions and 9 deletions
@@ -0,0 +1,10 @@
/* eslint-disable */
const fs = require('fs');
const path = require('path');
exports.removeWip = function (fDir, icao) {
var fNew = path.join(fDir, icao[0], icao[1], icao[2], icao + '.groundnet.new.xml');
if( fs.existsSync(fNew) ) {
fs.unlinkSync(fNew);
}
}