mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
* [eslint] re-enable no-extra-semi and quotes rules * [eslint] update to version 0.2.2 of eslint config * [eslint] autofix
15 lines
453 B
JavaScript
15 lines
453 B
JavaScript
import filesToCommit from './utils/files_to_commit';
|
|
import { resolve } from 'path';
|
|
|
|
export default function registerCollectFilesToCommit(grunt) {
|
|
const root = grunt.config.get('root');
|
|
|
|
grunt.registerTask('collectFilesToCommit', function () {
|
|
filesToCommit(root)
|
|
.then(files => {
|
|
grunt.log.ok(`${files.length} files with changes to commit`);
|
|
grunt.config.set('filesToCommit', files);
|
|
})
|
|
.nodeify(this.async());
|
|
});
|
|
}
|