Skip to content

Commit eb8bc1b

Browse files
committed
[exoframe-cli] Fix verbose logging during deploy
1 parent c7fb6b8 commit eb8bc1b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/exoframe-cli/src/handlers/deploy.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ export const deployProject = async (
6060
}
6161
spinner && spinner.succeed('Deployment finished!');
6262

63-
// log response in verbose-verbose mode
64-
verbose > 2 && console.log(chalk.gray('Server response:'), JSON.stringify(log.flat(), null, 2), '\n');
65-
6663
// log result
6764
console.log('Your project is now deployed as:\n');
6865
// create table

packages/exoframe-client/src/deploy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ const streamToResponse = ({ tarStream, remoteUrl, options, verbose = 0, log = ()
127127
export const deploy = async ({ folder, endpoint, token, update, configFile = 'exoframe.json', verbose = 0 }) => {
128128
const loglist = [];
129129
const log = (...args) => {
130+
if (verbose > 1) console.log(...args);
130131
loglist.push(args);
131132
};
132133

0 commit comments

Comments
 (0)