Skip to content

Commit

Permalink
getpid path
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Mar 22, 2018
1 parent e47673d commit 447fc4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions config/locations.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ module.exports = {
return path.join('\\\\?\\pipe', process.cwd(), defaultIPCFileName);
}
},
getPIDFilePath: function getPIDFilePath() {
if (!isWin) {
return path.join(process.cwd(), defaultIPCFileName + '.pid');
} else {
return path.join('\\\\?\\pipe', process.cwd(), defaultIPCFileName+'.pid');
}

},
homeDir: homeDir,
defaultDir: configDir,
};
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "edgemicro",
"version": "2.5.13",
"version": "2.5.14",
"description": "Apigee Edge Microgateway",
"main": "index.js",
"license": "Apache-2.0",
Expand Down

0 comments on commit 447fc4e

Please sign in to comment.