We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cd8c3 commit dd2cd44Copy full SHA for dd2cd44
apply.ts
@@ -134,6 +134,13 @@ export const markThatApplied = (pathToStackedRebaseDirInsideDotGit: string): voi
134
const doesNeedToApply = (pathToStackedRebaseDirInsideDotGit: string): boolean => {
135
const { rewrittenListPath, needsToApplyPath, appliedPath } = getPaths(pathToStackedRebaseDirInsideDotGit);
136
137
+ if (!fs.existsSync(rewrittenListPath)) {
138
+ /**
139
+ * nothing to apply
140
+ */
141
+ return false;
142
+ }
143
+
144
const needsToApplyPart1: boolean = fs.existsSync(needsToApplyPath);
145
if (needsToApplyPart1) {
146
return true;
0 commit comments