Skip to content

Commit 2111799

Browse files
committed
[fixed] Remove unused variables.
1 parent af1e0c9 commit 2111799

File tree

15 files changed

+12
-18
lines changed

15 files changed

+12
-18
lines changed

docs/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import routes from './src/Routes';
55
import Root from './src/Root';
66
import fsp from 'fs-promise';
77
import { copy } from '../tools/fs-utils';
8-
import { exec, spawn } from 'child-process-promise';
8+
import { exec } from 'child-process-promise';
99

1010
const repoRoot = path.resolve(__dirname, '../');
1111
const docsBuilt = path.join(repoRoot, 'docs-built');

docs/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from 'react';
22
import express from 'express';
33
import path from 'path';
4-
import url from 'url';
54
import webpack from 'webpack';
65
import webpackMiddleware from 'webpack-dev-middleware';
76
import webpackConfigBuilder from '../webpack/webpack.config';

docs/src/NavMain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import Router, { Link } from 'react-router';
2+
import { Link } from 'react-router';
33
import Navbar from '../../src/Navbar';
44
import Nav from '../../src/Nav';
55

ie8/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import express from 'express';
32
import path from 'path';
43
import webpack from 'webpack';

tools/amd/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import _ from 'lodash';
22
import path from 'path';
33
import fsp from 'fs-promise';
44
import { copy } from '../fs-utils';
5-
import { exec, spawn } from 'child-process-promise';
5+
import { exec } from 'child-process-promise';
66

77
const repoRoot = path.resolve(__dirname, '../../');
88
const amd = path.join(repoRoot, 'amd');

tools/build.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import lib from './lib/build';
77
import docs from '../docs/build';
88
import dist from './dist/build';
99
import { copy } from './fs-utils';
10-
import { exec, spawn } from 'child-process-promise';
1110

1211
import yargs from 'yargs';
1312

@@ -48,4 +47,3 @@ export default function Build(noExitOnFailure) {
4847
return result;
4948
}
5049
}
51-

tools/dist/build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import path from 'path';
2-
import fsp from 'fs-promise';
3-
import { exec, spawn } from 'child-process-promise';
2+
import { exec } from 'child-process-promise';
43

54
const repoRoot = path.resolve(__dirname, '../../');
65
const dist = path.join(repoRoot, 'dist');

tools/lib/build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import from 'colors';
22
import path from 'path';
3-
import fsp from 'fs-promise';
4-
import { exec, spawn } from 'child-process-promise';
3+
import { exec } from 'child-process-promise';
54

65
const repoRoot = path.resolve(__dirname, '../../');
76
const lib = path.join(repoRoot, 'lib');

tools/release-scripts/changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import from 'colors';
22
import path from 'path';
3-
import { exec, spawn } from 'child-process-promise';
3+
import { exec } from 'child-process-promise';
44

55
export default (repoRoot, version) => {
66
return exec(`node_modules/.bin/changelog -t v${version}`)

tools/release-scripts/pre-conditions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import from 'colors';
2-
import { exec, spawn } from 'child-process-promise';
2+
import { exec } from 'child-process-promise';
33

44
function ensureClean() {
55
return exec('git diff-index --name-only HEAD --')

0 commit comments

Comments
 (0)