src/util.js
/**
 * cleans out extra parameters from query and leaves only query
 *
 * @param {string} query the content read from a query file
 */
cleans out extra parameters from query and leaves only query
@param {string} query the content read from a query file
cleans out extra parameters from query and leaves only query @param { string } query the content read from a query file
function cleanQuery(query) {
  return query.split('\n')
    .filter((e) => !e.startsWith('---'))
    .filter((e) => !e.startsWith('#'))
    .join('\n');
}
function cleanQuery ( query ) { return query . split ( '\n' ) . filter ( ( e ) => ! e . startsWith ( '---' ) ) . filter ( ( e ) => ! e . startsWith ( '#' ) ) . join ( '\n' ) ; }
cleans out extra parameters from query and leaves only query
 @param {string} query the content read from a query file
cleans out extra parameters from query and leaves only query @param { string } query the content read from a query file