Add CI format check script
This commit is contained in:
13
bin/get-html-ls.js
Normal file
13
bin/get-html-ls.js
Normal file
@ -0,0 +1,13 @@
|
||||
const glob = require('glob');
|
||||
const pattern = '**/*.html';
|
||||
const options = {
|
||||
'ignore': [
|
||||
'_site/**/*.html',
|
||||
'node_modules/**/*.html'
|
||||
]
|
||||
};
|
||||
|
||||
glob(pattern, options, (error, files) => {
|
||||
if (error) throw error;
|
||||
process.stdout.write(files.join('\n') + '\n');
|
||||
});
|
Reference in New Issue
Block a user