thali
Version:
11 lines (10 loc) • 411 B
JavaScript
var fs = require('fs');
var path = require('path');
// We don't want to checkin the readme.md in the local directory since it is just a copy
// of the one in the parent directory so we clean it up after publishing so we don't accidentally
// check it in.
var readMeFileName = "readme.md";
var localReadMe = path.join(__dirname, "../", readMeFileName);
fs.unlinkSync(localReadMe);
process.exit(0);
;