1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.Healthcheck = void 0;
|
4 | const modifiableInstruction_1 = require("../modifiableInstruction");
|
5 | class Healthcheck extends modifiableInstruction_1.ModifiableInstruction {
|
6 | constructor(document, range, dockerfile, escapeChar, instruction, instructionRange) {
|
7 | super(document, range, dockerfile, escapeChar, instruction, instructionRange);
|
8 | }
|
9 | stopSearchingForFlags(argument) {
|
10 | argument = argument.toUpperCase();
|
11 | return argument === "CMD" || argument === "NONE";
|
12 | }
|
13 | getSubcommand() {
|
14 | let args = this.getArguments();
|
15 | return args.length !== 0 ? args[0] : null;
|
16 | }
|
17 | }
|
18 | exports.Healthcheck = Healthcheck;
|