aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-resolver/src/resolvers
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-05 10:48:21 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-05 10:48:21 +0800
commit9778695b4ad1fd999eb79b01c768a2f2b9938917 (patch)
tree3c44cd0e16474966f88af5b75846c1d6b7521188 /packages/sol-resolver/src/resolvers
parent70858603ed37de24ae47978a191b3f188f450182 (diff)
downloaddexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.gz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.bz2
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.lz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.xz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.zst
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.zip
Try enabling no-unused-variable...
Diffstat (limited to 'packages/sol-resolver/src/resolvers')
-rw-r--r--packages/sol-resolver/src/resolvers/name_resolver.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/sol-resolver/src/resolvers/name_resolver.ts b/packages/sol-resolver/src/resolvers/name_resolver.ts
index e489c70a7..bcd98615f 100644
--- a/packages/sol-resolver/src/resolvers/name_resolver.ts
+++ b/packages/sol-resolver/src/resolvers/name_resolver.ts
@@ -1,5 +1,4 @@
import * as fs from 'fs';
-import * as _ from 'lodash';
import * as path from 'path';
import { ContractSource } from '../types';
@@ -35,7 +34,6 @@ export class NameResolver extends EnumerableResolver {
public getAll(): ContractSource[] {
const contractSources: ContractSource[] = [];
const onFile = (filePath: string) => {
- const contractName = path.basename(filePath, SOLIDITY_FILE_EXTENSION);
const absoluteContractPath = path.join(this._contractsDir, filePath);
const source = fs.readFileSync(absoluteContractPath).toString();
const contractSource = {