This commit is contained in:
Philipp Kunz 2017-08-28 02:36:23 +02:00
parent 4646862fd6
commit 45c91f3dc1
2 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ exports.push = (argvArg) => __awaiter(this, void 0, void 0, function* () {
process.exit(1);
}
for (let dockerfile of dockerfileArray) {
dockerfile.push(localDockerRegistry, suffix);
yield dockerfile.push(localDockerRegistry, suffix);
}
});
exports.pull = (argvArg) => __awaiter(this, void 0, void 0, function* () {
@ -119,7 +119,7 @@ exports.pull = (argvArg) => __awaiter(this, void 0, void 0, function* () {
.then(helpers.sortDockerfiles)
.then(helpers.mapDockerfiles);
for (let dockerfile of dockerfileArray) {
dockerfile.pull(localDockerRegistry, suffix);
yield dockerfile.pull(localDockerRegistry, suffix);
}
});
exports.test = () => __awaiter(this, void 0, void 0, function* () {
@ -127,4 +127,4 @@ exports.test = () => __awaiter(this, void 0, void 0, function* () {
return yield helpers.readDockerfiles()
.then(helpers.testDockerfiles);
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfZG9ja2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSx5Q0FBd0M7QUFJeEMseUNBQXdDO0FBWXRDLDBCQUFPO0FBVlQsVUFBVTtBQUNWLHFFQUFxRDtBQVFuRCxxQkFSTyxtQ0FBVSxDQVFQO0FBUFosNkVBQTZEO0FBQzdELCtFQUErRDtBQUUvRCxZQUFZO0FBQ1osSUFBSSxvQkFBb0IsR0FBRyxJQUFJLDZDQUFlLEVBQUUsQ0FBQTtBQVNoRDs7O0dBR0c7QUFDUSxRQUFBLFNBQVMsR0FBRyxDQUFPLE9BQU87SUFDbkMsa0JBQVUsR0FBRyxPQUFPLENBQUE7SUFDcEIsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLEN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yxDQUFDLENBQUMsQ0FBRSxDQUFDLENBQUUsQ0FBQTtJQUN6QixDQUFDO0lBQ0QsSUFBSSxtQkFBbUIsR0FBRyxvQkFBb0IsQ0FBQyxnQkFBZ0IsQ0FBQyxjQUFjLENBQUMsQ0FBQTtJQUMvRSxJQUFJLGVBQWUsR0FBRyxNQUFNLE9BQU8sQ0FBQyxlQUFlLEVBQUU7U0FDbEQsSUFBSSxDQUFDLE9BQU8sQ0FBQyxlQUFlLENBQUM7U0FDN0IsSUFBSSxDQUFDLE9BQU8sQ0FBQyxjQUFjLENBQUMsQ0FBQTtJQUMvQixHQUFHLENBQUMsQ0FBQyxJQUFJLFVBQVUsSUFBSSxlQUFlLENBQUMsQ0FBQyxDQUFDO1FBQ3ZDLE1BQU0sVUFBVSxDQUFDLElBQUksQ0FBQyxtQkFBbUIsRUFBRSxNQUFNLENBQUMsQ0FBQTtJQUNwRCxDQUFDO0FBQ0gsQ0FBQyxDQUFBLENBQUE7QUFFVSxRQUFBLElBQUksR0FBRztJQUNoQixNQUFNLGVBQU8sRUFBRSxDQUFBO0lBQ2YsTUFBTSxDQUFDLE1BQU0sT0FBTyxDQUFDLGVBQWUsRUFBRTtTQUNuQyxJQUFJLENBQUMsT0FBTyxDQUFDLGVBQWUsQ0FBQyxDQUFBO0FBQ2xDLENBQUMsQ0FBQSxDQUFBIn0=

View File

@ -127,7 +127,7 @@ export let pull = async (argvArg) => {
.then(helpers.sortDockerfiles)
.then(helpers.mapDockerfiles)
for (let dockerfile of dockerfileArray) {
dockerfile.pull(localDockerRegistry, suffix)
await dockerfile.pull(localDockerRegistry, suffix)
}
}