From 4abd976c34dce0d636791ce9783a033a543af0a6 Mon Sep 17 00:00:00 2001 From: HugoPoi Date: Mon, 29 Jun 2020 11:21:48 +0200 Subject: [PATCH] fix: warning about LoopBack 3 in stderr close #100 --- bin/loopback-cli.js | 2 +- test/fixtures/help-lb-acl.txt | 7 ------- test/fixtures/help-lb-bluemix.txt | 7 ------- test/fixtures/help-lb-boot-script.txt | 7 ------- test/fixtures/help-lb-datasource.txt | 7 ------- test/fixtures/help-lb-export-api-def.txt | 7 ------- test/fixtures/help-lb-middleware.txt | 7 ------- test/fixtures/help-lb-model.txt | 7 ------- test/fixtures/help-lb-oracle.txt | 7 ------- test/fixtures/help-lb-property.txt | 7 ------- test/fixtures/help-lb-relation.txt | 7 ------- test/fixtures/help-lb-remote-method.txt | 7 ------- test/fixtures/help-lb-soap.txt | 7 ------- test/fixtures/help-lb-swagger.txt | 7 ------- test/fixtures/help-lb-zosconnectee.txt | 7 ------- test/fixtures/help-lb.txt | 7 ------- 16 files changed, 1 insertion(+), 106 deletions(-) diff --git a/bin/loopback-cli.js b/bin/loopback-cli.js index b2f10ae..2a18dc3 100755 --- a/bin/loopback-cli.js +++ b/bin/loopback-cli.js @@ -13,7 +13,7 @@ const debug = require('debug')('loopback:cli'); const minimist = require('minimist'); const path = require('path'); -console.log(chalk.bold(chalk.red(` +console.error(chalk.bold(chalk.red(` LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical security fixes will be provided. The support ends in December 2020. We urge all LoopBack 3 users to migrate their applications to LoopBack 4 diff --git a/test/fixtures/help-lb-acl.txt b/test/fixtures/help-lb-acl.txt index 550d953..59967ff 100644 --- a/test/fixtures/help-lb-acl.txt +++ b/test/fixtures/help-lb-acl.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb acl [options] diff --git a/test/fixtures/help-lb-bluemix.txt b/test/fixtures/help-lb-bluemix.txt index 1d3c838..3ef108c 100644 --- a/test/fixtures/help-lb-bluemix.txt +++ b/test/fixtures/help-lb-bluemix.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb bluemix [options] diff --git a/test/fixtures/help-lb-boot-script.txt b/test/fixtures/help-lb-boot-script.txt index deb05ea..a20c545 100644 --- a/test/fixtures/help-lb-boot-script.txt +++ b/test/fixtures/help-lb-boot-script.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb boot-script [options] [] diff --git a/test/fixtures/help-lb-datasource.txt b/test/fixtures/help-lb-datasource.txt index be9f5a7..91782d4 100644 --- a/test/fixtures/help-lb-datasource.txt +++ b/test/fixtures/help-lb-datasource.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb datasource [options] [] diff --git a/test/fixtures/help-lb-export-api-def.txt b/test/fixtures/help-lb-export-api-def.txt index 1e03dbb..4a4e00e 100644 --- a/test/fixtures/help-lb-export-api-def.txt +++ b/test/fixtures/help-lb-export-api-def.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb export-api-def [options] diff --git a/test/fixtures/help-lb-middleware.txt b/test/fixtures/help-lb-middleware.txt index 55a8f7d..ec20305 100644 --- a/test/fixtures/help-lb-middleware.txt +++ b/test/fixtures/help-lb-middleware.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb middleware [options] [] diff --git a/test/fixtures/help-lb-model.txt b/test/fixtures/help-lb-model.txt index 7aeece6..5cde92a 100644 --- a/test/fixtures/help-lb-model.txt +++ b/test/fixtures/help-lb-model.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb model [options] [] diff --git a/test/fixtures/help-lb-oracle.txt b/test/fixtures/help-lb-oracle.txt index ed281ce..48fa3bb 100644 --- a/test/fixtures/help-lb-oracle.txt +++ b/test/fixtures/help-lb-oracle.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb oracle [options] diff --git a/test/fixtures/help-lb-property.txt b/test/fixtures/help-lb-property.txt index d23cf97..3677631 100644 --- a/test/fixtures/help-lb-property.txt +++ b/test/fixtures/help-lb-property.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb property [options] diff --git a/test/fixtures/help-lb-relation.txt b/test/fixtures/help-lb-relation.txt index 188c176..dea57c6 100644 --- a/test/fixtures/help-lb-relation.txt +++ b/test/fixtures/help-lb-relation.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb relation [options] diff --git a/test/fixtures/help-lb-remote-method.txt b/test/fixtures/help-lb-remote-method.txt index 1187e8b..b449f40 100644 --- a/test/fixtures/help-lb-remote-method.txt +++ b/test/fixtures/help-lb-remote-method.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb remote-method [options] [] [] diff --git a/test/fixtures/help-lb-soap.txt b/test/fixtures/help-lb-soap.txt index 9b5c073..7db8540 100644 --- a/test/fixtures/help-lb-soap.txt +++ b/test/fixtures/help-lb-soap.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb soap [options] [] diff --git a/test/fixtures/help-lb-swagger.txt b/test/fixtures/help-lb-swagger.txt index 1ed725d..a4bccee 100644 --- a/test/fixtures/help-lb-swagger.txt +++ b/test/fixtures/help-lb-swagger.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb swagger [options] [] diff --git a/test/fixtures/help-lb-zosconnectee.txt b/test/fixtures/help-lb-zosconnectee.txt index ff9107f..1d2b617 100644 --- a/test/fixtures/help-lb-zosconnectee.txt +++ b/test/fixtures/help-lb-zosconnectee.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb zosconnectee [options] diff --git a/test/fixtures/help-lb.txt b/test/fixtures/help-lb.txt index 6899cd6..37ad104 100644 --- a/test/fixtures/help-lb.txt +++ b/test/fixtures/help-lb.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb app [options] []