Browse Source

Merge pull request #1045 from InduPrakash/dev

Using correct separator
rtc
Xose Pérez 6 years ago
committed by GitHub
parent
commit
d2f2d9fce5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      code/gulpfile.js

+ 2
- 1
code/gulpfile.js View File

@ -42,6 +42,7 @@ const remover = require('gulp-remove-code');
const map = require('map-stream'); const map = require('map-stream');
const rename = require('gulp-rename'); const rename = require('gulp-rename');
const runSequence = require('run-sequence'); const runSequence = require('run-sequence');
const path = require('path');
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// Configuration // Configuration
@ -63,7 +64,7 @@ var buildHeaderFile = function() {
return map(function(file, cb) { return map(function(file, cb) {
var parts = file.path.split("/");
var parts = file.path.split(path.sep);
var filename = parts[parts.length - 1]; var filename = parts[parts.length - 1];
var destination = staticFolder + filename + ".h"; var destination = staticFolder + filename + ".h";
var safename = "webui_image"; var safename = "webui_image";


Loading…
Cancel
Save