Skip to content

Commit

Permalink
Fix a couple of lint warnings for unused variables (#3232)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumaxis authored and bestander committed Apr 26, 2017
1 parent 1638d06 commit 086f9b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions __tests__/commands/install/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ afterEach(request.__resetAuthedRequests);

test.concurrent('properly find and save build artifacts', async () => {
await runInstall({}, 'artifacts-finds-and-saves', async (config): Promise<void> => {
const cacheFolder = path.join(config.cacheFolder, 'npm-dummy-0.0.0');

const integrity = await fs.readJson(path.join(config.cwd, 'node_modules', constants.INTEGRITY_FILENAME));

expect(integrity.artifacts['dummy@0.0.0']).toEqual(
Expand Down
2 changes: 0 additions & 2 deletions src/package-install-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import type Config from './config.js';
import type {ReporterSetSpinner} from './reporters/types.js';
import executeLifecycleScript from './util/execute-lifecycle-script.js';
import * as fs from './util/fs.js';
import * as constants from './constants.js';

const invariant = require('invariant');
const path = require('path');

const INSTALL_STAGES = ['preinstall', 'install', 'postinstall'];

Expand Down

0 comments on commit 086f9b8

Please sign in to comment.