Skip to content
Snippets Groups Projects
Commit 89bd6ca1 authored by Glenn Vorhes's avatar Glenn Vorhes
Browse files

add use strict

parent 142f707a
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,8 @@ const gulpUtil = require('gulp-util'); ...@@ -32,6 +32,8 @@ const gulpUtil = require('gulp-util');
* @private * @private
*/ */
function _processOutDir(outputFile) { function _processOutDir(outputFile) {
"use strict";
let pathParts = outputFile.split('/'); let pathParts = outputFile.split('/');
let outFileName = pathParts[pathParts.length - 1]; let outFileName = pathParts[pathParts.length - 1];
pathParts.splice(pathParts.length - 1, 1); pathParts.splice(pathParts.length - 1, 1);
...@@ -49,6 +51,8 @@ function _processOutDir(outputFile) { ...@@ -49,6 +51,8 @@ function _processOutDir(outputFile) {
* @private * @private
*/ */
export function bundleEs2015(inputFile, outFile, production) { export function bundleEs2015(inputFile, outFile, production) {
"use strict";
if (typeof outFile == 'string') { if (typeof outFile == 'string') {
outFile = _processOutDir(outFile); outFile = _processOutDir(outFile);
} }
...@@ -148,6 +152,7 @@ export function processLessFile(inputFile, outputFile) { ...@@ -148,6 +152,7 @@ export function processLessFile(inputFile, outputFile) {
*/ */
export function bundleEs2015Multiple(fileArray, production){ export function bundleEs2015Multiple(fileArray, production){
"use strict"; "use strict";
let outStream; let outStream;
for (let f of fileArray){ for (let f of fileArray){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment