@bprotsyk/aso-core 2.0.42 → 2.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -161,7 +161,7 @@ class ServerUtil {
161
161
  }
162
162
  // install certbot
163
163
  async setupCertbot() {
164
- await this.exec(`apt-get install -y certbot python3-certbot-nginx;`);
164
+ await this.ssh.execCommand(`apt-get install -y certbot python3-certbot-nginx;`);
165
165
  return true;
166
166
  }
167
167
  // creating a SSL certificate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.0.42",
3
+ "version": "2.0.43",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -194,7 +194,7 @@ export class ServerUtil {
194
194
 
195
195
  // install certbot
196
196
  async setupCertbot(): Promise<boolean> {
197
- await this.exec(`apt-get install -y certbot python3-certbot-nginx;`);
197
+ await this.ssh.execCommand(`apt-get install -y certbot python3-certbot-nginx;`);
198
198
 
199
199
  return true;
200
200
  }
@@ -349,6 +349,8 @@ export class ServerUtil {
349
349
  async disconnectSSH(): Promise<void> {
350
350
  this.ssh.dispose();
351
351
  }
352
+
353
+
352
354
  }
353
355
 
354
356