Skip to content

Commit ec1adad

Browse files
committed
pulling string case fix from upstream
1 parent 2641e3e commit ec1adad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Generator.prototype.addScriptToIndex = function (script) {
117117
file: fullPath,
118118
needle: '<!-- endbuild -->',
119119
splicable: [
120-
'<script src="scripts/' + script.replace('\\', '/') + '.js"></script>'
120+
'<script src="scripts/' + script.toLowerCase().replace(/\\/g, '/') + '.js"></script>'
121121
]
122122
});
123123
} catch (e) {

0 commit comments

Comments
 (0)