Skip to content

Commit 9236d04

Browse files
committed
docs: fix template:process-markdowns grunt task in order to fix the documentation build
1 parent 4911204 commit 9236d04

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

Gruntfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ module.exports = function (grunt) {
138138
"isWindows": true,
139139
"isMacOS": true,
140140
"isLinux": true,
141-
"formatListOfNames": () => { },
142141
"constants": ""
143142
}
144143
},

docs/man_pages/project/testing/test-init.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ General | `$ tns test init [--framework <Framework>]`
1717

1818
### Options
1919

20-
* `--framework <Framework>` - Sets the unit testing framework to install. The following frameworks are available: <%= formatListOfNames(getUnitTestingFrameworkNames(), 'and') %>.
20+
* `--framework <Framework>` - Sets the unit testing framework to install. The following frameworks are available: mocha, jasmine and qunit.
2121

2222
<% if(isHtml) { %>
2323

lib/common/services/micro-templating-service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import * as util from "util";
22
import * as os from "os";
33
import * as constants from "../../constants";
4-
import { formatListOfNames } from '../helpers';
54

65
export class MicroTemplateService implements IMicroTemplateService {
76
private dynamicCallRegex: RegExp;
87

9-
constructor(private $injector: IInjector,
10-
private $testInitializationService: ITestInitializationService) {
8+
constructor(private $injector: IInjector) {
119
// Injector's dynamicCallRegex doesn't have 'g' option, which we need here.
1210
// Use ( ) in order to use $1 to get whole expression later
1311
this.dynamicCallRegex = new RegExp(util.format("(%s)", this.$injector.dynamicCallRegex.source), "g");
@@ -37,8 +35,6 @@ export class MicroTemplateService implements IMicroTemplateService {
3735
localVariables["isMacOS"] = isHtml || this.isPlatform("darwin");
3836
localVariables["isConsole"] = !isHtml;
3937
localVariables["isHtml"] = isHtml;
40-
localVariables["formatListOfNames"] = formatListOfNames;
41-
localVariables["getUnitTestingFrameworkNames"] = this.$testInitializationService.getFrameworkNames;
4238
localVariables["isJekyll"] = false;
4339

4440
return localVariables;

0 commit comments

Comments
 (0)