1- module.exports =
1+ require('./sourcemap-register.js'); module.exports =
22/******/ (() => { // webpackBootstrap
33/******/ var __webpack_modules__ = ({
44
@@ -44151,14 +44151,15 @@ const { LinkChecker } = __webpack_require__(356);
4415144151
4415244152async function main () {
4415344153 try {
44154+ // The options returned from `getInput` appear to always be strings.
4415444155 const options = {
4415544156 path: qq('paths', '*.md'),
44156- concurrency: core.getInput( 'concurrency'),
44157- recurse: core.getInput( 'recurse'),
44158- linksToSkip: core.getInput ('skip'),
44159- timeout: core.getInput( 'timeout'),
44160- markdown: qq('markdown', true),
44161- serverRoot: core.getInput ('serverRoot')
44157+ concurrency: Number(qq( 'concurrency', 100) ),
44158+ recurse: Boolean(qq( 'recurse', false) ),
44159+ linksToSkip: qq ('skip', undefined ),
44160+ timeout: Number(qq( 'timeout', 0) ),
44161+ markdown: Boolean( qq('markdown', true) ),
44162+ serverRoot: qq ('serverRoot', undefined )
4416244163 };
4416344164 console.log(options);
4416444165
@@ -44184,8 +44185,8 @@ async function main () {
4418444185 }
4418544186}
4418644187
44187- function qq (propName, defaultValue) {
44188- return typeof core.getInput(propName) === 'undefined '
44188+ function qq (propName, defaultValue, typeFunction ) {
44189+ return core.getInput(propName) === ''
4418944190 ? defaultValue
4419044191 : core.getInput(propName);
4419144192}
@@ -44468,4 +44469,5 @@ module.exports = require("zlib");;
4446844469/******/ // Load entry module and return exports
4446944470/******/ return __webpack_require__(4351);
4447044471/******/ })()
44471- ;
44472+ ;
44473+ //# sourceMappingURL=index.js.map
0 commit comments