Skip to content

Commit

Permalink
fix esm
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Dec 27, 2023
1 parent 6aa19c0 commit 8262c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sudocleanssl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

// stop renewing failed SSL certs if found

import shelljs, { ShellString, cat } from 'shelljs';
const { exec } = shelljs;
import shelljs from 'shelljs';
const { exec, ShellString, cat } = shelljs;

// | DOMAIN NAME | PATH TO CERTIFICATE FILE | VALID UNTIL | EXPIRES IN | STATUS |
const certsExpiryRegexp = /^\| (\S+)\s+\| (\/.+?)\s+\| (.+?)\s+\| (.*?)\s+\| (\S+)\s+\|$/gm;
Expand Down

0 comments on commit 8262c7e

Please sign in to comment.