Update index.js
Update index.js

When check() fails a error occurs. It seems to be fixed with this small change. Unit tests would be good ...

ReferenceError: defaults is not defined
    at /Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:339:46
    at Array.forEach (native)
    at Object.Argv.self.help (/Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:302:14)
    at Object.Argv.self.showHelp (/Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:241:17)
    at fail (/Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:168:18)
    at /Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:420:17
    at Array.forEach (native)
    at parseArgs (/Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:410:16)
    at Object.Argv.Object.defineProperty.get [as argv] (/Users/heideggermartin/IdeaProjects/mapslice/node_modules/yargs/index.js:368:36)
    at Object.<anonymous> (/Users/heideggermartin/IdeaProjects/mapslice/bin/mapslice:24:46)
oti/yargs,geophree/yargs,jean-emmanuel/yargs,elas7/yargs,ChristianMurphy/yargs,bcoe/yargs,nexdrew/yargs,jean-emmanuel/yargs,dkoleary88/yargs,jvdm/yargs,etiktin/yargs,raine/yargs,zkat/yargs,yargs/yargs,yargs/yargs,LoicMahieu/yargs,tepez/yargs,elas7/yargs,geophree/yargs,tepez/yargs,ammeep/yargs,bcoe/yargs,ggoodman/yargs,nexdrew/yargs,ammeep/yargs,dkoleary88/yargs,sgentle/yargs,rstacruz/yargs,yargs/yargs