vsc-material-theme/.gulp/tasks/changelog-title.ts
Mattia Astorino 2f4f56f40d
unlock files
2018-04-20 20:07:36 +02:00

11 lines
No EOL
340 B
TypeScript

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 });
});