Skip to content
Merged
Prev Previous commit
Next Next commit
update step ids
Signed-off-by: shmck <[email protected]>
  • Loading branch information
ShMcK committed Jun 24, 2020
commit 1b7d20b77f33e10d513f2e9d1852acdb1e440cfc
4 changes: 2 additions & 2 deletions src/utils/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function parse(params: ParseParams): any {
...mdStep,
};

const stepSetupKey = `${step.id}Q`;
const stepSetupKey = `${step.id}:T`;
if (params.commits[stepSetupKey]) {
if (!step.setup) {
step.setup = {
Expand All @@ -160,7 +160,7 @@ export function parse(params: ParseParams): any {
step.setup.commits = params.commits[stepSetupKey];
}

const stepSolutionKey = `${step.id}A`;
const stepSolutionKey = `${step.id}:S`;
if (params.commits[stepSolutionKey]) {
if (!step.solution) {
step.solution = {
Expand Down