Skip to content

Commit ed8f9e9

Browse files
Merge pull request #10 from akshatlambdatest/main
Updated build name parameter
2 parents a066589 + 7d1d6b3 commit ed8f9e9

File tree

4 files changed

+6
-680
lines changed

4 files changed

+6
-680
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export LT_USERNAME=abc
2323
export LT_ACCESS_KEY=def
2424

2525
// The build name whose test session information is to be fetched
26-
export LT_BUILD=Demo
26+
export LT_BUILD_NAME=Demo
2727

2828
fetch-Lt-sessions
2929
```

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ const fetchSession = async (options) => {
1111
}
1212

1313
// read build name from env
14-
if (!process.env.LT_BUILD) {
15-
console.log(" Please set Build name to env <LT_BUILD>");
14+
if (!process.env.LT_BUILD_NAME) {
15+
console.log(" Please set Build name to env <LT_BUILD_NAME>");
1616
throw new Error("Build name is required");
1717
}
1818

0 commit comments

Comments
 (0)