vsc-material-theme/.gulp/tasks/changelog-title.ts

11 lines
340 B
TypeScript
Raw Normal View History

2018-04-20 20:07:36 +02:00
import * as gulp from "gulp";
import * as fs from 'fs';
import { CHARSET } from "../../extensions/consts/files";
export default gulp.task('changelog-title', () => {
fs.writeFileSync(
'./CHANGELOG.md',
fs.readFileSync('CHANGELOG.md', CHARSET).replace('# Change Log', '# Material Theme Changelog'),
{ encoding: CHARSET });
});