mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-27 23:45:18 +00:00
drop extra [1]
This commit is contained in:
parent
25a5898051
commit
bf7a8ba00f
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user