aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-resolver
diff options
context:
space:
mode:
authorFrancesco Agosti <francesco.agosti93@gmail.com>2018-06-07 08:21:09 +0800
committerGitHub <noreply@github.com>2018-06-07 08:21:09 +0800
commit67c4ad128c405692e471274148c9a2ef7cd8b6ca (patch)
treeb410c792b110bbae4d1814aab8115b2b3120f65d /packages/sol-resolver
parent5989844f1c3d00f57f1ab86a00aa97e17751c576 (diff)
parent870eca0d9f875f784c1847993246db3097f68405 (diff)
downloaddexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.gz
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.tar.zst
dexon-sol-tools-67c4ad128c405692e471274148c9a2ef7cd8b6ca.zip
Merge pull request #662 from 0xProject/feature/improve-linting
Tried enabling no-unused-variable...
Diffstat (limited to 'packages/sol-resolver')
-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 = {