Use Object destructuring.

This commit is contained in:
XhmikosR authored and Shun Sato committed 2018-12-17 23:14:23 +09:00
1 parent fe5d9a0a52
commit d5e5e6113f
3 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -26,6 +26,6 @@ bin(getProjectRoot()).run(['version'])
.then(() => {
signale.success('Hugo binary installed successfully!');
})
.catch(err => {
signale.fatal(`${err.message}\nHugo binary installation failed!`);
.catch(error => {
signale.fatal(`${error.message}\nHugo binary installation failed!`);
});