Skip to content

Commit c089ae7

Browse files
Fixed bugs with the new host.ci property
1 parent 1b1e828 commit c089ae7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/isomorphic.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function getCIInfo(): false | CIInfo {
5757
}
5858

5959
return {
60-
pr: ci.isPR,
6160
...ci,
61+
pr: ci.isPR,
6262
};
6363
}

test/specs/ci.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("CI/CD host", () => {
1616
});
1717

1818
it("host.ci.pr should be a boolean", () => {
19-
expect(host.ci.name).to.be.a("boolean");
19+
expect(host.ci.pr).to.be.a("boolean");
2020
});
2121

2222
it("all other properties should be CI/CD constants", () => {

0 commit comments

Comments
 (0)