mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(cloudcmd) readIndex: params -> error, params
This commit is contained in:
parent
c3db0876b1
commit
37863f90de
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@
|
|||
}
|
||||
|
||||
function readIndex(json, callback) {
|
||||
Util.ifExec(!Minify, function(params) {
|
||||
Util.ifExec(!Minify, function(error, params) {
|
||||
var name = params && params.name;
|
||||
|
||||
fs.readFile(name || INDEX_PATH, 'utf8', function(error, template) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue