Skip to content

Commit 1f323c1

Browse files
authored
fix(jetbrainsSpace): fix build error with node 12 (#214)
1 parent 5bad207 commit 1f323c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/jetbrains-space.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ module.exports = {
66
return Boolean(env.JB_SPACE_EXECUTION_NUMBER);
77
},
88
configuration({env}) {
9-
const projectKey = env.JB_SPACE_PROJECT_KEY?.toLowerCase();
9+
const projectKey = env.JB_SPACE_PROJECT_KEY;
1010
const repositoryName = env.JB_SPACE_GIT_REPOSITORY_NAME;
1111
return {
1212
name: 'JetBrains Space',
1313
service: 'jetbrainsSpace',
1414
commit: env.JB_SPACE_GIT_REVISION,
1515
build: env.JB_SPACE_EXECUTION_NUMBER,
1616
branch: parseBranch(env.JB_SPACE_GIT_BRANCH),
17-
slug: projectKey && repositoryName ? `${projectKey}/${repositoryName}` : undefined,
17+
slug: projectKey && repositoryName ? `${projectKey.toLowerCase()}/${repositoryName}` : undefined,
1818
};
1919
},
2020
};

0 commit comments

Comments
 (0)