🧹 Remove unnecessary whitespace in deploy script
This commit is contained in:
@@ -365,7 +365,7 @@ async function deploy() {
|
||||
console.log(' 📦 Transferring backend server files...');
|
||||
const serverDir = path.join(SOURCE_DIR, 'server');
|
||||
await ssh.execCommand(`mkdir -p ${REMOTE_PATH}/server`);
|
||||
|
||||
|
||||
// Transfer server package files
|
||||
const serverFiles = [
|
||||
'package.json',
|
||||
@@ -373,7 +373,7 @@ async function deploy() {
|
||||
'gamemaster-api.js',
|
||||
'.env.example'
|
||||
];
|
||||
|
||||
|
||||
for (const file of serverFiles) {
|
||||
const localPath = path.join(serverDir, file);
|
||||
const remotePath = `${REMOTE_PATH}/server/${file}`;
|
||||
@@ -382,7 +382,7 @@ async function deploy() {
|
||||
console.log(` ✅ server/${file}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Transfer server subdirectories
|
||||
const serverDirs = ['middleware', 'routes', 'utils', 'data'];
|
||||
for (const dir of serverDirs) {
|
||||
|
||||
Reference in New Issue
Block a user