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
5af7cf9e
Unverified
Commit
5af7cf9e
authored
Sep 07, 2018
by
Rodrigo Nascimento
Committed by
GitHub
Sep 07, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #33 from wreiske/master
[FIX] Spelling mistakes
parents
c311487a
71a94708
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/commands/deploy.ts
src/commands/deploy.ts
+2
-2
src/commands/package.ts
src/commands/package.ts
+1
-1
src/commands/submit.ts
src/commands/submit.ts
+1
-1
No files found.
src/commands/deploy.ts
View file @
5af7cf9e
...
...
@@ -39,7 +39,7 @@ export default class Deploy extends Command {
const
report
=
compiler
.
logDiagnostics
();
if
(
!
report
.
isValid
&&
!
flags
.
force
)
{
this
.
error
(
'
TypeScript compiler error(s) occured
'
);
this
.
error
(
'
TypeScript compiler error(s) occur
r
ed
'
);
this
.
exit
(
1
);
return
;
}
...
...
@@ -100,7 +100,7 @@ export default class Deploy extends Command {
}).
then
((
res
:
Response
)
=>
res
.
json
());
if
(
deployResult
.
status
===
'
error
'
)
{
throw
new
Error
(
'
Unknown error occured while deploying
'
);
throw
new
Error
(
'
Unknown error occur
r
ed while deploying
'
);
}
else
if
(
!
deployResult
.
success
)
{
throw
new
Error
(
`Deployment error:
${
deployResult
.
error
}
`
);
}
...
...
src/commands/package.ts
View file @
5af7cf9e
...
...
@@ -40,7 +40,7 @@ export default class Package extends Command {
const
report
=
compiler
.
logDiagnostics
();
if
(
!
report
.
isValid
&&
!
flags
.
force
)
{
this
.
error
(
'
TypeScript compiler error(s) occured
'
);
this
.
error
(
'
TypeScript compiler error(s) occur
r
ed
'
);
this
.
exit
(
1
);
return
;
}
...
...
src/commands/submit.ts
View file @
5af7cf9e
...
...
@@ -47,7 +47,7 @@ export default class Submit extends Command {
const
report
=
compiler
.
logDiagnostics
();
if
(
!
report
.
isValid
)
{
this
.
error
(
'
TypeScript compiler error(s) occured
'
);
this
.
error
(
'
TypeScript compiler error(s) occur
r
ed
'
);
this
.
exit
(
1
);
return
;
}
...
...
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