var request = require('request');
var num_ligne = 3;

var info = function(num_ligne) {

  var result_value = {status :"ini"};
  
  console.log("RATP : ", 'Ini Global');
  
console.log("RATP : result 2 :", result_value);
    return  request('http://api-ratp.pierre-grimaud.fr/v2/traffic/metros/13', function (error, response, body) {
    console.log("RATP : ", 'Ini request');
    if (!error && response.statusCode == 200) {
      console.log("RATP : ", 'Ini if');
       
      var info = JSON.parse(body)
      console.log("RATP : IF :", info.response.message);
        result_value = {result : info.response.message};
        callback(result_value);
        console.log("RATP : result 1 :", result_value);
    }else{
        console.log("RATP : ", 'Ini else');
        result_value = {status :"erro"};
        
    }
  });
};


module.exports.num_ligne = num_ligne;
module.exports.info = info;

@@ -126,109 +126,8 @@
 %0A  %0A
-  console.log(%22RATP : %22, 'Ini Global');%0A  %0Aconsole.log(%22RATP : result 2 :%22, result_value);%0A    return
   re
@@ -231,49 +231,8 @@
 %7B%0A  
-  console.log(%22RATP : %22, 'Ini request');%0A
     
@@ -285,341 +285,112 @@
     
-console.log(%22RATP : %22, 'Ini if');%0A       %0A      var info = JSON.parse(body)%0A      console.log(%22RATP : IF :%22, info.response.message);%0A        result_value = %7Bresult : info.response.message%7D;%0A        callback(result_value);%0A        console.log(%22RATP : result 1 :%22, result_value);%0A    %7Delse%7B%0A        console.log(%22RATP : %22, 'Ini else');%0A
+  var info = JSON.parse(body)%0A          result_value = %7Bresult : info.response.message%7D;%0A      %7Delse%7B%0A  
     
@@ -436,21 +436,42 @@
     
-  
+%7D%0A    %7D)
 %0A  
+%0A
   
-%7D%0A  %7D)
+return  result_value
 ;%0A%7D;

Update RATP_App.js