e2e/shared/common.js
function writeConfig(json) {
  if (!skyuxConfigOriginal) {
    skyuxConfigOriginal = JSON.parse(fs.readFileSync(skyuxConfigPath));
  }

  fs.writeFileSync(skyuxConfigPath, JSON.stringify(json), 'utf8');
}
function writeConfig(json) {
  if (!skyuxConfigOriginal) {
    skyuxConfigOriginal = JSON.parse(fs.readFileSync(skyuxConfigPath));
  }

  fs.writeFileSync(skyuxConfigPath, JSON.stringify(json), 'utf8');
}
function writeConfig ( json ) { if ( ! skyuxConfigOriginal ) { skyuxConfigOriginal = JSON . parse ( fs . readFileSync ( skyuxConfigPath ) ) ; } fs . writeFileSync ( skyuxConfigPath , JSON . stringify ( json ) , 'utf8' ) ; }
Writes the specified json to the skyuxconfig.json file
Writes the specified json to the skyuxconfig . json file