Output message modification in bundle command. (#13)

This commit is contained in:
Kithmini Gunawardhana
2022-09-29 19:45:01 +05:30
committed by GitHub
parent 744b806e49
commit f2d1ceac8b
3 changed files with 5 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ const archiver = require('archiver');
const appenv = require("../appenv");
const { exec } = require("./child-proc");
const { log, info, success } = require("./logger");
const { resolve } = require('path');
const GLOBAL_PREFIX = "hpdevkit";
const VERSION = "0.1.0";
@@ -130,7 +131,7 @@ function archiveDirectory(sourcePath, destinationPath = null) {
// Callbacks
output.on('close', () => {
success(`Archive finished. (location: ${target})`);
success(`Archive finished. (location: ${resolve(target)})`);
});
archive.on('error', (err) => {

4
npm/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "hpdevkit",
"version": "0.5.1",
"version": "0.5.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "hpdevkit",
"version": "0.5.1",
"version": "0.5.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "hpdevkit",
"version": "0.5.1",
"version": "0.5.2",
"description": "Developer toolkit for HotPocket smart contract development",
"scripts": {
"install": "node scripts/install.js"