Speech as a package #416

Merged
bones7242 merged 89 commits from speech-as-a-package into master 2018-04-18 21:47:34 +02:00
5 changed files with 12 additions and 54673 deletions
Showing only changes of commit fee422223a - Show all commits

View file

@ -15,6 +15,8 @@ export const dynamicImport = (filePath) => {
throw new Error('no file path provided to dynamicImport()'); throw new Error('no file path provided to dynamicImport()');
} }
if (filePath.typeof !== 'string') { if (filePath.typeof !== 'string') {
console.log('dynamicImport > filePath:', filePath);
console.log('dynamicImport > filePath type:', filePath.typeof);
throw new Error('file path provided to dynamicImport() must be a string'); throw new Error('file path provided to dynamicImport() must be a string');
} }
// split out the file folders // filter out any empty or white-space-only strings // split out the file folders // filter out any empty or white-space-only strings

8911
index.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long