feat(guide): Import guide in to the client app

This commit is contained in:
Bouncey
2018-10-04 14:47:55 +01:00
committed by Stuart Taylor
parent 2723a943c9
commit 6e728ce16d
4338 changed files with 148283 additions and 4200 deletions

View File

@ -11,17 +11,18 @@ that delivers challenge files to the plugin
const { createNode } = actions;
const { source } = pluginOptions;
return source().subscribe(
challenges =>
return source()
.then(challenges =>
challenges
.filter(challenge => challenge.superBlock !== 'Certificates')
.map(challenge => createChallengeNodes(challenge, reporter))
.map(node => createNode(node)),
e =>
.map(node => createNode(node))
)
.catch(e =>
reporter.panic(`fcc-sourec-challenges
${e.message}
${e.message}
`)
);
`)
);
};