cli: fix breaks caused by refactor
This commit is contained in:
parent
4621f34e47
commit
3bec1c3499
|
@ -60,7 +60,7 @@ exports.handler = async function(argv){
|
|||
};
|
||||
|
||||
let response = await argv.axios.post('/jobs', request);
|
||||
response = response.data.data
|
||||
response = response.data
|
||||
|
||||
function step(name, ctx){
|
||||
console.log(chalk.bold(`== ${name} ==`))
|
||||
|
|
|
@ -18,7 +18,7 @@ exports.handler = async function({axios}){
|
|||
const packages = await axios.get('/packages');
|
||||
|
||||
|
||||
const pkg_msg = packages.data.data.packages
|
||||
const pkg_msg = packages.data
|
||||
.map(msg_format.color)
|
||||
.join('\n');
|
||||
|
||||
|
|
Loading…
Reference in New Issue