mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-03 01:13:55 +00:00
Update compiler.js
This commit is contained in:
parent
a734eb2b7c
commit
ce7693eca2
@ -84,7 +84,7 @@ Compiler.prototype.compile_serpent = function(contractFile) {
|
||||
Compiler.prototype.compile = function(contractFiles) {
|
||||
var solidity = [], serpent = [];
|
||||
|
||||
for (contract in contractFiles) {
|
||||
for (var contractFile in contractFiles) {
|
||||
var extension = contractFile.split('.')[1];
|
||||
if (extension === 'sol') {
|
||||
solidity.push(contractFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user