UNPKG

729 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.Run = void 0;
4const jsonInstruction_1 = require("../jsonInstruction");
5class Run extends jsonInstruction_1.JSONInstruction {
6 constructor(document, range, dockerfile, escapeChar, instruction, instructionRange) {
7 super(document, range, dockerfile, escapeChar, instruction, instructionRange);
8 }
9 stopSearchingForFlags(argument) {
10 return argument.indexOf("--") === -1;
11 }
12 /**
13 * Returns there here-documents that are defined in this RUN
14 * instruction.
15 *
16 * This API is experimental and subject to change.
17 */
18 getHeredocs() {
19 return super.getHeredocs();
20 }
21}
22exports.Run = Run;