Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

Commit 52dfda9

Browse files
committed
Merge pull request #1 from hugojosefson/remove-useless-slash
Remove useless slash
2 parents fbc4a6d + f71eb60 commit 52dfda9

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
npm-debug.log
33
tmp
4+
/.idea/

tasks/angular-combine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function (grunt) {
1212
grunt.registerMultiTask('angularCombine', 'Combine AngularJS partials into a single HTML file.', function () {
1313
var managePartialsDirectory = function(cwd, source, dest){
1414
var destFileContent = "";
15-
destFileContent += "<!-- Merge of " + source + " -->/\n";
15+
destFileContent += "<!-- Merge of " + source + " -->\n";
1616

1717
grunt.file.recurse(source, function (abspath, rootdir, subdir, filename) {
1818
// only work with HTML files

test/expected/test1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Merge of test/fixtures/test1 -->/
1+
<!-- Merge of test/fixtures/test1 -->
22
<script type='text/ng-template' id='test1/bar.html'>
33
<div>
44
Bar

test/expected/test2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Merge of test/fixtures/test2 -->/
1+
<!-- Merge of test/fixtures/test2 -->
22
<script type='text/ng-template' id='test2/bar.html'>
33
<div>
44
Bar

test/expected/test3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Merge of test/fixtures/test3 -->/
1+
<!-- Merge of test/fixtures/test3 -->
22
<script type='text/ng-template' id='test3/foo.html'>
33
<div>
44
Foo

0 commit comments

Comments
 (0)