Skip to content

Commit 98f3fc7

Browse files
committed
fix: TT-610 Fix pipeline - testing log
1 parent 0c35313 commit 98f3fc7

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

scripts/setenv.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,21 @@ writeFile(pathJs, contentKeys, function (err) {
1515
console.log(err);
1616
}
1717
console.log(`Wrote variables to ${pathJs}`);
18-
});
18+
console.log(`${process.env["AUTHORITY"]}`);
19+
});
1920

20-
const pathJson = `./src/environments/.keys.json`
21-
const contentKeysJson =
22-
`{
21+
const pathJson = `./src/environments/.keys.json`
22+
const contentKeysJson =
23+
`{
2324
"authority": "${process.env.AUTHORITY_JSON}",
2425
"client_id": "${process.env.CLIENT_ID_JSON}",
2526
"scopes": ["${process.env.SCOPES_JSON}"]
26-
}`;
27+
}`;
2728

28-
writeFile(pathJson, contentKeysJson, function (err) {
29+
writeFile(pathJson, contentKeysJson, function (err) {
2930
if (err) {
30-
console.log(err);
31+
console.log(err);
3132
}
3233
console.log(`Wrote variables to ${pathJson}`);
33-
});
34+
console.log(`${process.env["SCOPES"]}`);
35+
});

0 commit comments

Comments
 (0)