diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-02-14 16:58:56 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-02-14 16:58:56 +0100 |
| commit | 6cd62e795e3716aa0cbd2d1ff8c1b3a345803563 (patch) | |
| tree | f35cfd157529d890d8d5e8e4280c9d44d77a5e01 /lib/remotes | |
| parent | 02f408c24d82d1fac4e55c146c4fa57cbdcdeca4 (diff) | |
Use modules, use XDG dirs
Diffstat (limited to 'lib/remotes')
| -rw-r--r-- | lib/remotes/git.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/remotes/git.js b/lib/remotes/git.js index 32230ae..f6d0c07 100644 --- a/lib/remotes/git.js +++ b/lib/remotes/git.js @@ -1,12 +1,12 @@ -const { exec } = require('child_process'); -const { promisify } = require('util'); +import { exec } from 'child_process'; +import { promisify } from 'util'; const internals = { // Promisified functions exec: promisify(exec), }; -module.exports = { +export default { canHandle() { // For the future: actually check if it's a valid git url |