mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
test bug fixed, not it's writes logs to screen and do not create server
This commit is contained in:
parent
2f7e4a5228
commit
3a0bf89ca8
2 changed files with 4 additions and 3 deletions
|
|
@ -217,9 +217,10 @@ CloudServer.init=(function(){
|
|||
* not created, just init and
|
||||
* all logs writed to screen
|
||||
*/
|
||||
if(process.argv[1]==='testing'){
|
||||
console.log(process.argv[2]);
|
||||
if(process.argv[2]==='test'){
|
||||
CloudServer.Config.server=false;
|
||||
CloudServer.logs=true;
|
||||
CloudServer.Config.logs=true;
|
||||
}
|
||||
|
||||
if(CloudServer.Config.logs){
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ jshint --config ./.jshintrc ./lib/cloudfunc.js ./lib/server/minify.js ./lib/clie
|
|||
echo "jshint ./package.json ./config.json"
|
||||
jshint --config ./.jshintrc ./package.json ./config.json
|
||||
npm i uglify-js clean-css html-minifier css-b64-images
|
||||
node server.js testing
|
||||
node server.js test
|
||||
ls ./min
|
||||
Loading…
Add table
Add a link
Reference in a new issue