mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 11:30:12 +08:00
feat: create stage
This commit is contained in:
1 parent
65ad72223b
commit
77fe2d37b3
11 files changed
+67
-18
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
Command,
|
||||
ICommand,
|
||||
ICondition,
|
||||
IFileExistenceChecker,
|
||||
FileExistenceInput,
|
||||
@@ -30,7 +30,7 @@ export class Condition {
|
||||
this.matchers.push(new ErrorMatcher(error)) // always check unexpected error
|
||||
}
|
||||
|
||||
match(command: Command): boolean {
|
||||
match(command: ICommand): boolean {
|
||||
return this.matchers.every((matcher) => {
|
||||
return matcher.match(command)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user