Skip to content

Commit

Permalink
formating.
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Nov 8, 2021
1 parent 076dc02 commit 2546929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OwaClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ private function getHomeDirectory() {

// On Unix systems, use the HOME environment variable
if ($home = getenv( 'HOME' ) ) {

return $home;
}

// Get the HOMEDRIVE and HOMEPATH values for Windows hosts
$home_drive = getenv('HOMEDRIVE');
$home_path = getenv('HOMEPATH');

return ($home_drive && $home_path) ? $home_drive . $home_path : null;
}

Expand Down

0 comments on commit 2546929

Please sign in to comment.