13 lines
291 B
JavaScript
13 lines
291 B
JavaScript
|
const Generator = require("yeoman-generator");
|
||
|
|
||
|
module.exports = class extends Generator {
|
||
|
|
||
|
async writing() {
|
||
|
await this.fs.copyTpl(
|
||
|
this.templatePath('pre-commit-config.yaml.ejs'),
|
||
|
this.destinationPath('.pre-commit-config.yaml.ejs')
|
||
|
);
|
||
|
}
|
||
|
|
||
|
};
|