Methods fromMapFileComment and fromMapFileSource take a readMap function as second argument, that is expected to return either a string or a Promise of a string. But it is not clear how this method is supposed to behave when the passed file doesn't exist?
Should it throw? Or return null?
Methods
fromMapFileCommentandfromMapFileSourcetake areadMapfunction as second argument, that is expected to return either astringor a Promise of astring. But it is not clear how this method is supposed to behave when the passed file doesn't exist?Should it throw? Or return
null?