Merge pull request #3282 from kleesc/handle-missing-build-phase-case

Build phase message: add missing case
This commit is contained in:
Joseph Schorr 2018-11-02 13:46:38 -04:00 committed by GitHub
commit 3cd6a4ae84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,6 +81,10 @@ export class BuildServiceImpl implements BuildService {
message = 'This build was previously cancelled.';
break;
case 'incomplete':
message = 'This build was not completed.';
break;
default:
throw new Error(`Invalid build phase: ${phase.toString()}`);
}