Skip to content

Commit 57c8620

Browse files
committed
Updated config and script
1 parent 32b4d14 commit 57c8620

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ version: 2
77
jobs:
88
build:
99
<<: *defaults
10-
environment:
11-
SUBSCRIPTION_KEY: $SUBSCRIPTION_KEY
1210
steps:
1311
- checkout
1412
- attach_workspace:
@@ -72,7 +70,7 @@ jobs:
7270
name: Run codevoc
7371
command: './node_modules/.bin/codecov -t $CODECOV_TOKEN'
7472
environment:
75-
- CODECOV_TOKEN: "83a5682f-4c9f-4ed7-9da8-ccc04416f364"
73+
- CODECOV_TOKEN: "$CODECOV_TOKEN"
7674
- store_artifacts:
7775
path: temp/coverage
7876
prefix: coverage

scripts/execute-translation.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ const uuidv4 = require('uuid/v4');
1616

1717
// Replace with process.env.subscriptionKey to get an access to Azure Cognitive services
1818
const subscriptionKey = process.env.SUBSCRIPTION_KEY;
19-
console.log(subscriptionKey);
20-
console.log(JSON.stringify(process.env));
21-
const endpoint = "https://westeurope.api.cognitive.microsoft.com";
19+
const endpoint = "https://westeurope.api.cognitive.microsoft.com/";
2220

2321
const locHelper = require('./export-localization');
2422
// Load configuration for supported languages

0 commit comments

Comments
 (0)