We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 189563d commit 4a25d7cCopy full SHA for 4a25d7c
tests/legacy-cli/e2e/tests/commands/config/get-set-deprecation.ts
@@ -5,14 +5,14 @@ export default function() {
5
const depRegEx = /get\/set have been deprecated in favor of the config command\./;
6
return Promise.resolve()
7
.then(() => ng('get'))
8
- .then(({ stdout }) => {
9
- if (!stdout.match(depRegEx)) {
+ .then(({ stderr }) => {
+ if (!stderr.match(depRegEx)) {
10
throw new Error(`Expected deprecation warning.`);
11
}
12
})
13
.then(() => ng('set'))
14
15
16
17
18
});
0 commit comments