Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1130

Use node.js os.homedir to get homedir

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: CLI Release 7.0.0
    • Component/s: Core
    • Labels:
    • Story Points:
      3
    • Sprint:
      2017 Sprint 14 Tooling

      Description

      Currently we use a custom way of getting a users home dir, which isn't perfect and can break CLI-949. When I made the fix for that ticket I couldn't replace it with os.homedir as it was introduced in node v4 and we still supported 0.12. Well, now we no longer support 0.12 so lets use it

      Refs:
      https://nodejs.org/dist/latest-v4.x/docs/api/os.html#os_os_homedir
      https://github.com/nodejs/node/pull/1791

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                eharris Ewan Harris
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code