mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
Fix release
This commit is contained in:
@@ -32,7 +32,6 @@ var windowOptions = {
|
||||
};
|
||||
|
||||
app.on('activate-with-no-open-windows', function () {
|
||||
var mainWindow = new BrowserWindow(windowOptions);
|
||||
if (mainWindow) {
|
||||
mainWindow.show();
|
||||
}
|
||||
|
||||
@@ -34,10 +34,10 @@ gulp.task('js', function () {
|
||||
// emit the end event, to properly end the task
|
||||
this.emit('end');
|
||||
}))
|
||||
.pipe(sourcemaps.init())
|
||||
.pipe(gulpif(options.dev || options.test, sourcemaps.init()))
|
||||
.pipe(react())
|
||||
.pipe(to5({blacklist: ['regenerator']}))
|
||||
.pipe(sourcemaps.write('.'))
|
||||
.pipe(gulpif(options.dev || options.test, sourcemaps.write('.')))
|
||||
.pipe(gulp.dest((options.dev || options.test) ? './build' : './dist/osx/' + options.filename + '/Contents/Resources/app/build'))
|
||||
.pipe(gulpif(options.dev, livereload()));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user