File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,8 @@ const LATEST_VERSION_SYNTAX_REGEX = /\d*.latest(.\d*)?/gm
211
211
212
212
const ERROR_EXIT_CODE = 1 ;
213
213
214
+ const REDACTED = "[REDACTED]" ;
215
+
214
216
module . exports = Object . freeze ( {
215
217
syncCLI,
216
218
userMessages,
@@ -228,5 +230,6 @@ module.exports = Object.freeze({
228
230
METADATA_CHAR_BUFFER_PER_SPEC ,
229
231
usageReportingConstants,
230
232
LATEST_VERSION_SYNTAX_REGEX ,
231
- ERROR_EXIT_CODE
233
+ ERROR_EXIT_CODE ,
234
+ REDACTED
232
235
} ) ;
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ const cp = require("child_process"),
8
8
const config = require ( './config' ) ,
9
9
fileLogger = require ( './logger' ) . fileLogger ,
10
10
utils = require ( './utils' ) ;
11
+
12
+ const { REDACTED } = require ( "./constants" ) ;
11
13
12
14
function get_version ( package_name ) {
13
15
try {
@@ -181,8 +183,8 @@ function send(args) {
181
183
data . cypress_version = bsConfig . run_settings . cypress_version
182
184
}
183
185
184
- bsConfig [ 'auth' ] [ 'username' ] = "[ REDACTED]"
185
- bsConfig [ 'auth' ] [ 'access_key' ] = "[ REDACTED]"
186
+ bsConfig [ 'auth' ] [ 'username' ] = REDACTED
187
+ bsConfig [ 'auth' ] [ 'access_key' ] = REDACTED
186
188
187
189
delete args . bstack_config ;
188
190
You can’t perform that action at this time.
0 commit comments