Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Commit 14a85b5

Browse files
fix: error message not properly returned
1 parent ff9949e commit 14a85b5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/cmds/publish.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = function publish() {
4848
build()
4949
)
5050
} catch(err) {
51-
console.log('\x1b[31m', err.output[1].toString())
51+
console.log('\x1b[31m', err.toString())
5252
console.log('\x1b[0m', 'Are you sure directory is a valid Livestorm plugin ?')
5353
process.exit(1);
5454
}

src/cmds/watch.js

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = function watch() {
3232
filter: (f, skip) => {
3333
if (/\/node_modules/.test(f)) return skip;
3434
if (/\/build/.test(f)) return skip;
35+
if (/\/\.git/.test(f)) return skip;
3536
return true
3637
},
3738
}, updatePlugin);

0 commit comments

Comments
 (0)