Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 93921f8

Browse files
fix(build): remove use of template strings in build-contributors
* template strings require Node 5.x * revert to es5 string concatenation
1 parent d7f5a9d commit 93921f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gulp/tasks/build-contributors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* Note 'githubcontrib' may require a application-scoped access token: GITHUB_API_TOKEN
1010
*/
1111
exports.task = function () {
12-
var appPath = `dist/docs`;
12+
var appPath = 'dist/docs';
1313

1414
exec([
15-
`rm -f ${appPath}/contributors.json`,
16-
`githubcontrib --owner=angular --repository=material --cols=6 --format=json --showlogin=true --sortBy=login --sha=master > ${appPath}/contributors.json`
15+
'rm -f '+ appPath + '/contributors.json',
16+
'githubcontrib --owner=angular --repository=material --cols=6 --format=json --showlogin=true --sortBy=login --sha=master > ' + appPath + '/contributors.json'
1717
]);
1818
};
1919
exports.dependencies = ['docs-js'];

0 commit comments

Comments
 (0)