Skip to content

Commit a902450

Browse files
authored
Merge pull request #40 from marmelab/fix-distant-locale
Fix distant flags
2 parents 9b34f98 + db07769 commit a902450

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "greenframe-cli",
33
"description": "Official GreenFrame CLI",
4-
"version": "1.6.5",
4+
"version": "1.6.6",
55
"author": "Marmelab",
66
"bin": {
77
"greenframe": "./bin/run"

src/services/api/analyses.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export const createAnalysis = async ({
1414
useAdblock,
1515
projectName,
1616
gitInfos,
17+
locale,
18+
timezoneId,
19+
ignoreHTTPSErrors,
1720
}: Analysis) => {
1821
const { commitMessage, branchName, commitId, defaultBranchCommitReference } =
1922
gitInfos;
@@ -30,6 +33,9 @@ export const createAnalysis = async ({
3033
gitBranchName: branchName,
3134
gitCommitId: commitId,
3235
gitDefaultBranchCommitReference: defaultBranchCommitReference,
36+
locale,
37+
timezoneId,
38+
ignoreHTTPSErrors,
3339
});
3440
};
3541

src/tasks/createNewAnalysis.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const createNewAnalysis = async (ctx) => {
2222
samples: flags.samples,
2323
distant: flags.distant,
2424
useAdblock: flags.useAdblock,
25+
locale: flags.locale,
26+
timezoneId: flags.timezoneId,
27+
ignoreHTTPSErrors: flags.ignoreHTTPSErrors,
2528
projectName: ctx.projectName,
2629
gitInfos: ctx.gitInfos,
2730
});

0 commit comments

Comments
 (0)