Maintain first results from Tech Radar Q1 2017
This commit is contained in:
@@ -18,10 +18,10 @@ export const getPageNames = (radar) => {
|
||||
export const getItemPageNames = (items) => items.map(item => `${item.quadrant}/${item.name}`);
|
||||
|
||||
export const rings = [
|
||||
'assess',
|
||||
'trial',
|
||||
'hold',
|
||||
'adopt',
|
||||
'trial',
|
||||
'assess',
|
||||
'hold'
|
||||
];
|
||||
|
||||
const messages = {
|
||||
|
||||
@@ -22,7 +22,7 @@ export const createRadar = async (tree) => {
|
||||
};
|
||||
|
||||
const checkAttributes = (fileName, attributes) => {
|
||||
const rings = ['trial', 'assess', 'adopt', 'hold'];
|
||||
const rings = ['adopt', 'trial', 'assess', 'hold'];
|
||||
if (attributes.ring && !rings.includes(attributes.ring)) {
|
||||
throw new Error(`Error: ${fileName} has an illegal value for 'ring' - must be one of ${rings}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user