Skip to content

Commit

Permalink
chore: Update proxy configuration instructions (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
takuyaW authored Jun 25, 2024
1 parent cf66354 commit aa81530
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

CHANGELOG
====
v5.0.4
----

#### Updates
* Update proxy configuration instructions

v5.0.3
----

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monaca",
"version": "5.0.3",
"version": "5.0.4",
"description": "Monaca Command Line Tool",
"bin": {
"monaca": "bin/monaca"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ var printSuccessMessage = function(options, files) {
var loginErrorHandler = function (error, taskName = null) {
if (error === 'ECONNRESET') {
util.print('Unable to connect to Monaca Cloud. Are you connected to the internet?');
util.print('If you need to use a proxy, please configure it with "monaca proxy".');
util.print('If you need to use a proxy, please configure it with "monaca config proxy".');
} else {
if (error.hasOwnProperty('code') && error.code == 503) {
if (error.hasOwnProperty('result') && error.result.hasOwnProperty('confirm') && error.result.confirm) {
Expand Down
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var displayLoginErrors = function(error) {
if (error === 'ECONNRESET') {
printerr('Unable to connect to Monaca Cloud.');
println('Are you connected to the Internet?');
println('If you need to use a proxy, please configure it with "monaca proxy".');
println('If you need to use a proxy, please configure it with "monaca config proxy".');
} else {
printerr('Must be signed in to Monaca when using this command.');
println();
Expand Down

0 comments on commit aa81530

Please sign in to comment.