cli: fix breaks caused by refactor

This commit is contained in:
Thomas Hobson 2021-03-13 23:09:30 +13:00
parent 4621f34e47
commit 3bec1c3499
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
2 changed files with 2 additions and 2 deletions

View File

@ -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} ==`))

View File

@ -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');