feat: refactor and test tools steps utilities (#42693)

This commit is contained in:
Victor Duarte
2021-07-06 19:22:12 -05:00
committed by GitHub
parent 9e883e49ba
commit 82d09bd593
36 changed files with 855 additions and 207 deletions

View File

@ -1,12 +1,9 @@
const fs = require('fs');
const {
reorderSteps,
padWithLeadingZeros,
getExistingStepNums,
getProjectPath,
getArgValues
} = require('./utils');
const { getArgValues } = require('./helpers/get-arg-values');
const { getExistingStepNums } = require('./helpers/get-existing-step-nums');
const { getProjectPath } = require('./helpers/get-project-path');
const { padWithLeadingZeros } = require('./helpers/pad-with-leading-zeros');
const { reorderSteps } = require('./utils');
const stepExists = (steps, stepToFind) => steps.includes(stepToFind);