Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
@@ -52,2 +52,3 @@ "use strict"; | ||
console.log('Please close Firefox before continuing'); | ||
// LEFT OFF: this appears to not be looping properly | ||
while (isFirefoxOpen()) { | ||
@@ -64,9 +65,7 @@ yield sleep(50); | ||
function isFirefoxOpen() { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
// NOTE: We use some Windows-unfriendly methods here (ps) because Windows | ||
// never needs to check this, because it doesn't update the NSS DB | ||
// automaticaly. | ||
assert(constants_1.isMac || constants_1.isLinux, 'checkForOpenFirefox was invoked on a platform other than Mac or Linux'); | ||
return child_process_1.execSync('ps aux').indexOf('firefox') > -1; | ||
}); | ||
// NOTE: We use some Windows-unfriendly methods here (ps) because Windows | ||
// never needs to check this, because it doesn't update the NSS DB | ||
// automaticaly. | ||
assert(constants_1.isMac || constants_1.isLinux, 'checkForOpenFirefox was invoked on a platform other than Mac or Linux'); | ||
return child_process_1.execSync('ps aux').indexOf('firefox') > -1; | ||
} | ||
@@ -137,2 +136,2 @@ function sleep(ms) { | ||
exports.openCertificateInFirefox = openCertificateInFirefox; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmVkLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9kYXcvb3NzL2RldmNlcnQvIiwic291cmNlcyI6WyJwbGF0Zm9ybXMvc2hhcmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZCQUE2QjtBQUM3QixxQ0FBcUM7QUFDckMsaUNBQWlDO0FBQ2pDLG9DQUFvQztBQUNwQyw2QkFBNkI7QUFDN0IsK0JBQW9DO0FBQ3BDLDJCQUFvRTtBQUNwRSxvQ0FBNEM7QUFDNUMsNENBQThDO0FBQzlDLGlEQUFpRDtBQUVqRCxNQUFNLEtBQUssR0FBRyxXQUFXLENBQUMsMEJBQTBCLENBQUMsQ0FBQztBQUV0RDs7O0dBR0c7QUFDSC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luZyBGaXJlZm94IC4uLlxuXG4gICAgR3JlYXQhIE9uY2UgeW91J3ZlIGZpbmlzaGVkIHRoZSBGaXJlZm94IHdpemFyZCBmb3IgYWRkaW5nIHRoZSBkZXZjZXJ0XG4gICAgY2VydGlmaWNhdGUsIGp1c3QgaGl0IGFueSBrZXkgaGVyZSBhZ2FpbiBhbmQgd2UnbGwgd3JhcCB1cC5cblxuICAgIDxQcmVzcyBhbnkga2V5IHRvIGNvbnRpbnVlPlxuICBgKVxuICBhd2FpdCB3YWl0Rm9yVXNlcigpO1xuICBzZXJ2ZXIuY2xvc2UoKTtcbn1cbiJdfQ== |
{ | ||
"name": "devcert", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"description": "Generate trusted local SSL/TLS certificates for local SSL development", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -46,2 +46,3 @@ import * as path from 'path'; | ||
console.log('Please close Firefox before continuing'); | ||
// LEFT OFF: this appears to not be looping properly | ||
while(isFirefoxOpen()) { | ||
@@ -56,3 +57,3 @@ await sleep(50); | ||
*/ | ||
async function isFirefoxOpen() { | ||
function isFirefoxOpen() { | ||
// NOTE: We use some Windows-unfriendly methods here (ps) because Windows | ||
@@ -59,0 +60,0 @@ // never needs to check this, because it doesn't update the NSS DB |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
202376