title: Return array inside promise is returning undefined
body: <p>I'm learning NodeJS a bit to do some automation scripts, but I'm having a problem that I don't know how to solve.</p>
  
  <p>Using google spreadsheet API and "promisify-node" package, I'm requesting some data from an spreadsheet, and trying to return part of the data to be used on another js file.</p>
  
  <p>file: spreadsheet.js</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const getProductsConfiguration = async(auth) =&gt; 
  {
      const sheets = google.sheets('v4');
      const getValues = promisify(sheets.spreadsheets.values.get);
      await getValues({
          auth: auth,
          spreadsheetId: utils.getSpreadsheedId(config.spreadsheet.configSpreadsheedUrl),
          range: `${config.spreadsheet.configTabName}!A8:C1000`,   
      })
      .then(function (response) {
          var productsConfiguration = [];
          for(var value in response.values)
          {
              if(response.values[value].length === 0) continue;
              var productConfig = {
                  "productName": response.values[value][0],
                  "spreadsheetId": response.values[value][1],
                  "filterId": response.values[value][2]
              };
              productsConfiguration.push(productConfig);
          }
          console.log(productsConfiguration);
          return productsConfiguration;
      })
      .catch(function (error){console.log(error); return false;});
  };</code></pre>
  </div>
  </div>
  </p>
  
  <p>app.js:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>productsConfig = await spreadsheet.getProductsConfiguration(sheetAuth);
          console.log(productsConfig);</code></pre>
  </div>
  </div>
  </p>
  
  <p>this console.log is returning "undefined", but the console.log inside "spreadsheet.js" is returning the correct data.</p>
  
  <p>What can I do to solve? thanks</p>