drop extra [1]

This commit is contained in:
Aakil Fernandes 2016-01-30 12:16:11 -05:00
parent 25a5898051
commit bf7a8ba00f

View File

@ -74,7 +74,7 @@ Compiler.prototype.compile_serpent = function(contractFile) {
Compiler.prototype.compile = function(contractFile) {
var contractFileParts = contractFile.split('.')[1]
var contractFileParts = contractFile.split('.')
,extension = contractFileParts[contractFileParts.length-1];
if (extension === 'sol') {