We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d30808 commit 13d1baaCopy full SHA for 13d1baa
.travis.yml
@@ -10,6 +10,7 @@ node_js:
10
script:
11
- yarn lint
12
- yarn global add codecov -g
13
+ - yarn build
14
- yarn test
15
- codecov -f coverage/*.json
16
after_success:
src/index.ts
@@ -74,6 +74,7 @@ function validateConfigurationObject(config: IFetchReadmeConfig) {
74
*/
75
const fetchReadme = async (config: IFetchReadmeConfig) => {
76
try {
77
+ // Check configuration before proceeding
78
validateConfigurationObject(config)
79
return await getGithubReadmeForRepository(config)
80
} catch (error) {
0 commit comments