mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-27 08:32:30 +03:00
Add some logging
This commit is contained in:
parent
ca86e0258f
commit
28015339d9
@ -25,9 +25,11 @@ function loadEnvironmentVariables(filePath) {
|
||||
}
|
||||
|
||||
function readEnvironmentVariables() {
|
||||
if (process.platform === 'win32')
|
||||
loadEnvironmentVariables('C:\\jenkins\\config\\atomcredentials');
|
||||
else {
|
||||
if (process.platform === 'win32') {
|
||||
console.log(process.env.SystemDrive);
|
||||
console.log(path.resolve('/jenkins/config/atomcredentials'));
|
||||
loadEnvironmentVariables('Y:\\jenkins\\config\\atomcredentials');
|
||||
} else {
|
||||
loadEnvironmentVariables('/var/lib/jenkins/config/atomcredentials');
|
||||
loadEnvironmentVariables('/var/lib/jenkins/config/xcodekeychain');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user