| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | import {Operation} from './Operation'; |
| 9 | |
| 10 | export class ContinueOperation extends Operation { |
| 11 | static opName = 'Continue'; |
| 12 | |
| 13 | constructor() { |
| 14 | super('ContinueMergeOperation'); |
| 15 | } |
| 16 | |
| 17 | getArgs() { |
| 18 | return ['continue']; |
| 19 | } |
| 20 | |
| 21 | // It's tempting to add makeOptimisticMergeConflictsApplier to `continue`, |
| 22 | // but we don't know if we'll hit additional merge conflicts, |
| 23 | // and we don't want our detection of conflicts to not work. |
| 24 | // Instead of optimistically hiding the conflicts, we show a spinner on the continue button. |
| 25 | } |
| 26 | |