• J
    fix: check path is string in pathToFsPath · 7ce9ee0d
    Joe Previte 提交于
    There's a chance this function can be called with a path that is not a string.
    
    To catch that, we check if path is of a different type and throw an error if it
    is.
    
    This also adds a couple tests for this function.
    7ce9ee0d
util.ts 15.0 KB