Skip to content
This repository was archived by the owner on Aug 12, 2021. It is now read-only.

Commit 035c48d

Browse files
polunzhpolunzh
andauthored
fix blocklet:use bug (#369)
* fix blocklet:use bug * bump version Co-authored-by: polunzh <[email protected]>
1 parent 3cadfd5 commit 035c48d

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.15 (March 09, 2020)
2+
3+
- fix blocklet:use bug
4+
15
## 1.0.14 (March 04, 2020)
26

37
- add npm package integrity verification when run blocklet:use

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@arcblock/forge-cli",
3-
"version": "1.0.14",
3+
"version": "1.0.15",
44
"description": "a general set of CLI for arcblock Forge framework",
55
"license": "Apache-2.0",
66
"main": "src/index.js",

src/cli/blocklet/lib/base-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const copyFiles = (sourceRoot, file, target) => {
1818
if (Array.isArray(file)) {
1919
files.forEach(f => {
2020
let t = target;
21-
if (isDirectory) {
21+
if (isDirectory(f)) {
2222
t = path.join(t, f);
2323
}
2424

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.14
1+
1.0.15

0 commit comments

Comments
 (0)