Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Rocket.Chat.Apps-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RocketChat
Rocket.Chat.Apps-cli
Commits
6faabda5
Unverified
Commit
6faabda5
authored
Sep 07, 2018
by
Rodrigo Nascimento
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Deploy command was not showing compiler errors
parent
c311487a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/commands/deploy.ts
src/commands/deploy.ts
+4
-0
No files found.
src/commands/deploy.ts
View file @
6faabda5
...
...
@@ -104,6 +104,10 @@ export default class Deploy extends Command {
}
else
if
(
!
deployResult
.
success
)
{
throw
new
Error
(
`Deployment error:
${
deployResult
.
error
}
`
);
}
if
(
deployResult
.
compilerErrors
&&
deployResult
.
compilerErrors
.
length
>
0
)
{
throw
new
Error
(
`Deployment compiler errors: \n
${
JSON
.
stringify
(
deployResult
.
compilerErrors
,
null
,
2
)
}
`
);
}
}
// expects the `path` to start with the /
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment