Skip to content

Change "process.env['HOME'] " to "os.homedir()" #5

@mambax7

Description

@mambax7

For Windows this would not work with 'HOME' as in:
var confFile = process.env['HOME'] + '/.gitall/config.json';

but this should cover all OS cases:

var os = require('os');
var confFile = os.homedir() + '/.gitall/config.json';

the same with:
var logLocation = process.env['HOME'] + '/.gitall/gitall.log';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions