mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 10:07:46 -05:00
9 lines
209 B
JavaScript
9 lines
209 B
JavaScript
const fs = require('fs');
|
|
const yaml = require('js-yaml');
|
|
|
|
const buildCertification = filePath => ({
|
|
challenges: [yaml.load(fs.readFileSync(filePath, 'utf8'))]
|
|
});
|
|
|
|
module.exports = { buildCertification };
|