]> PHS Git Server - phs-api.git/commitdiff
Moving Client to the right place.
authorcharleswrayjr <charleswrayjr@gmail.com>
Thu, 4 Sep 2025 09:32:50 +0000 (04:32 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Thu, 4 Sep 2025 09:32:50 +0000 (04:32 -0500)
app.js
src/controllers/git.controller.js

diff --git a/app.js b/app.js
index 5c7212e470008e885f46ba878a8f30f9b63cf65e..9eb969ca018b366532fb3069d71c158444ebdc09 100644 (file)
--- a/app.js
+++ b/app.js
@@ -11,7 +11,6 @@ const port = normalizePort( process.env.PORT || '3601' );
 const runOnce = require ( './src/middleware/custom-startup' );
 const Routes = require( './src/routes' );
 const phsdb = require( './src/phsdb' );
-const { Client } = require('ssh2');
 const fs = require('fs');
 
 const buffer = require('buffer');
index 19374625d11c152b31edcf246b4cc888f0394094..32f0491dc4609c0d6d6213998ddecbce15f3f84c 100644 (file)
@@ -1,4 +1,5 @@
 const fs = require('fs');
+const { Client } = require('ssh2');
 const sshConfig = {
   host: 'localhost',
   port: 22,