src/helpers/MSFS/ConfigFiles/parseCFGFile.js
/**
 * Set path to a CFG file
 *
 * @export
 * @argument {String} path  Set path to CFG file
 */
Set path to a CFG file
@export
@argument {String} path  Set path to CFG file
Set path to a CFG file @export @argument { String } path Set path to CFG file
function loadCFG(path) {
  if (!pathRegEx.test(path) || !fs.lstatSync(path).isFile()) return false;
  CFGpath = path;
  return true;
}
function loadCFG ( path ) { if ( ! pathRegEx . test ( path ) || ! fs . lstatSync ( path ) . isFile ( ) ) return false ; CFGpath = path ; return true ; }
Set path to a CFG file
 @export
 @argument {String} path  Set path to CFG file
Set path to a CFG file @export @argument { String } path Set path to CFG file