function removeChanges()

in src/changes.js [31:41]


function removeChanges(changesDirectives, currentType, line) {
    let r = line;

    changesDirectives.forEach(change => {
        if (change.type == currentType && change.action == 'remove' && line.startsWith(change.field)) {
            r = '*** REMOVE ***';
        }
    });

    return r;
}