Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed Feb 5, 2020
1 parent e6e8081 commit fe14e45
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,13 @@ import { run } from '@kbn/dev-utils';

const description = 'Populate the initial data for the code coverage static site.';

const exec = ({ log }) => {
log.info(`### ${description}`);
// Grab the data file
const exec = buildNumber => outFile => ({ log }) => {
log.info(`### Job Num: ${buildNumber}`);
log.info(`### Dat file: ${outFile}`);
// Parse it
// Populate cc_app/public/inital_data.js

}
};


export function populate(buildNumber, outFile) {
console.log(`\n### buildNumber: \n\t${buildNumber}`);
console.log(`\n### outFile: \n\t${outFile}`);

run(exec, { description });
}
export const populate = (buildNumber, outFile) =>
run(exec(buildNumber)(outFile), { description });

0 comments on commit fe14e45

Please sign in to comment.