Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
1aae6e54
Commit
1aae6e54
authored
Nov 13, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix parameters consistency
parent
fc6a27d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compiler.js
remix-tests/src/compiler.js
+1
-1
index.js
remix-tests/src/index.js
+1
-1
No files found.
remix-tests/src/compiler.js
View file @
1aae6e54
...
@@ -71,7 +71,7 @@ function compileFileOrFiles (filename, isDirectory, opts, cb) {
...
@@ -71,7 +71,7 @@ function compileFileOrFiles (filename, isDirectory, opts, cb) {
})
})
}
}
function
compileContractSources
(
sources
,
importFileCb
,
cb
,
opts
)
{
function
compileContractSources
(
sources
,
importFileCb
,
opts
,
cb
)
{
let
compiler
,
filepath
let
compiler
,
filepath
let
accounts
=
opts
.
accounts
||
[]
let
accounts
=
opts
.
accounts
||
[]
// Iterate over sources keys. Inject test libraries. Inject test library import statements.
// Iterate over sources keys. Inject test libraries. Inject test library import statements.
...
...
remix-tests/src/index.js
View file @
1aae6e54
...
@@ -29,7 +29,7 @@ var runTestSources = function (contractSources, testCallback, resultCallback, fi
...
@@ -29,7 +29,7 @@ var runTestSources = function (contractSources, testCallback, resultCallback, fi
})
})
},
},
function
compile
(
next
)
{
function
compile
(
next
)
{
Compiler
.
compileContractSources
(
contractSources
,
importFileCb
,
next
)
Compiler
.
compileContractSources
(
contractSources
,
importFileCb
,
{
accounts
},
next
)
},
},
function
deployAllContracts
(
compilationResult
,
next
)
{
function
deployAllContracts
(
compilationResult
,
next
)
{
Deployer
.
deployAll
(
compilationResult
,
web3
,
function
(
err
,
contracts
)
{
Deployer
.
deployAll
(
compilationResult
,
web3
,
function
(
err
,
contracts
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment