Skip to content

Commit

Permalink
chore: fix lint warnings in build files (#1931)
Browse files Browse the repository at this point in the history
Removes a few unused variables and formatting warnings in the Gulp-related build files.
  • Loading branch information
crisbeto authored and tinayuangao committed Nov 30, 2016
1 parent 7816752 commit e09ff61
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tools/gulp/gulpfile.ts
Expand Up @@ -9,4 +9,4 @@ import './tasks/lint';
import './tasks/release';
import './tasks/serve';
import './tasks/unit-test';
import './tasks/docs';
import './tasks/docs';
4 changes: 1 addition & 3 deletions tools/gulp/tasks/e2e.ts
@@ -1,7 +1,5 @@
import {task, watch} from 'gulp';
import * as path from 'path';
import gulpMerge = require('merge2');
import gulpRunSequence = require('run-sequence');

import {SOURCE_ROOT, DIST_ROOT, PROJECT_ROOT} from '../constants';
import {
Expand Down Expand Up @@ -53,7 +51,7 @@ task(':e2e:done', () => process.exit(0));
let stopE2eServer: () => void = null;

/** Starts up the e2e app server. */
task(':serve:e2eapp', serverTask(false, (stream) => { stopE2eServer = () => stream.emit('kill') }));
task(':serve:e2eapp', serverTask(false, stream => { stopE2eServer = () => stream.emit('kill'); }));

/** Terminates the e2e app server */
task(':serve:e2eapp:stop', () => stopE2eServer());
Expand Down
2 changes: 1 addition & 1 deletion tools/gulp/tasks/release.ts
@@ -1,5 +1,5 @@
import {spawn} from 'child_process';
import {existsSync, readdirSync, statSync} from 'fs';
import {existsSync, statSync} from 'fs';
import {task} from 'gulp';
import gulpRunSequence = require('run-sequence');
import path = require('path');
Expand Down
2 changes: 1 addition & 1 deletion tools/gulp/tasks/unit-test.ts
Expand Up @@ -2,7 +2,7 @@ import gulp = require('gulp');
import path = require('path');
import gulpMerge = require('merge2');

import {PROJECT_ROOT, DIST_COMPONENTS_ROOT} from '../constants';
import {PROJECT_ROOT} from '../constants';
import {sequenceTask} from '../task_helpers';

const karma = require('karma');
Expand Down

0 comments on commit e09ff61

Please sign in to comment.