You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node's version of path.join converts the front or backslash appropriately depending on the operating system. For example, windows uses a frontslash for its directories. And linux and mac use a backslash for their directories.
The issue is when coding on Windows, you must use a frontslash. But when deploying on Mac, it must be converted to a backslash. This presents a portability issue.
Node's "join" actually handles this quite simply using conditionals to determine which operating system the user is on. But this version does not handle the front/backslash problem. Is it possible to implement Node's version of "join" in this module?
The text was updated successfully, but these errors were encountered:
Node's version of path.join converts the front or backslash appropriately depending on the operating system. For example, windows uses a frontslash for its directories. And linux and mac use a backslash for their directories.
The issue is when coding on Windows, you must use a frontslash. But when deploying on Mac, it must be converted to a backslash. This presents a portability issue.
Node's "join" actually handles this quite simply using conditionals to determine which operating system the user is on. But this version does not handle the front/backslash problem. Is it possible to implement Node's version of "join" in this module?
The text was updated successfully, but these errors were encountered: