Skip to content

Commit e4cff82

Browse files
committed
v1.16.1
Supress deprecation warning for --stream on windows. Fixes #793
1 parent c10c6b6 commit e4cff82

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.16.1
2+
3+
### Fixes
4+
- Supress --stream deprecation warning on windows (#793)
5+
16
## 1.16.0
27

38
### Features

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"fmt"
2121
)
2222

23-
const VERSION = "1.16.0"
23+
const VERSION = "1.16.1"
2424

2525
type GinkgoConfigType struct {
2626
RandomSeed int64

ginkgo/run_command.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"math/rand"
77
"os"
88
"regexp"
9+
"runtime"
910
"strings"
1011
"time"
1112

@@ -56,7 +57,7 @@ func (r *SpecRunner) RunSpecs(args []string, additionalArgs []string) {
5657

5758
deprecationTracker := types.NewDeprecationTracker()
5859

59-
if r.commandFlags.ParallelStream {
60+
if r.commandFlags.ParallelStream && (runtime.GOOS != "windows") {
6061
deprecationTracker.TrackDeprecation(types.Deprecation{
6162
Message: "--stream is deprecated and will be removed in Ginkgo 2.0",
6263
DocLink: "removed--stream",

types/deprecation_support.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (d *DeprecationTracker) DeprecationsReport() string {
8181
out += formatter.F("{{light-yellow}}============================================={{/}}\n")
8282
out += formatter.F("Ginkgo 2.0 is under active development and will introduce (a small number of) breaking changes.\n")
8383
out += formatter.F("To learn more, view the migration guide at {{cyan}}{{underline}}https://github.com/onsi/ginkgo/blob/v2/docs/MIGRATING_TO_V2.md{{/}}\n")
84-
out += formatter.F("To comment, chime in at {{cyan}}{{underline}}https://github.com/onsi/ginkgo/issues/711{{/}}\n")
84+
out += formatter.F("To comment, chime in at {{cyan}}{{underline}}https://github.com/onsi/ginkgo/issues/711{{/}}\n\n")
8585

8686
for deprecation, locations := range d.deprecations {
8787
out += formatter.Fi(1, "{{yellow}}"+deprecation.Message+"{{/}}\n")

0 commit comments

Comments
 (0)