_processYmlFile()

in generators/module/index.js [176:186]


  _processYmlFile(content, path) {
    let result = this._replaceTokens(content, this.options);
    result = result.replace(/(UnicornSerializationDependenciesX)/g, this.options.unicornSerializationDependenciesX);

    // scope to modifications of rainbow YAML fils only
    if (path.match(/.*\.yml/gi)) {
      result = utils.generateHashBasedItemIdsInYamlFile(result, path, true);
    }

    return result;
  }