@jcoreio/aws-ecr-utils 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checkECRImageAccess.js +12 -4
- package/checkECRImageAccess.mjs +6 -1
- package/package.json +1 -1
package/checkECRImageAccess.js
CHANGED
|
@@ -96,7 +96,7 @@ function _checkECRImageAccess() {
|
|
|
96
96
|
}]
|
|
97
97
|
}, null, 2).replace(/\n/gm, '\n '), "\n"));
|
|
98
98
|
if (!(repoAccountAwsConfig && (0, _isInteractive["default"])())) {
|
|
99
|
-
_context.next =
|
|
99
|
+
_context.next = 57;
|
|
100
100
|
break;
|
|
101
101
|
}
|
|
102
102
|
_context.next = 34;
|
|
@@ -166,10 +166,18 @@ function _checkECRImageAccess() {
|
|
|
166
166
|
region: region,
|
|
167
167
|
repositoryName: repositoryName
|
|
168
168
|
})));
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
_context.next = 56;
|
|
170
|
+
return checkECRImageAccess({
|
|
171
|
+
awsConfig: awsConfig,
|
|
172
|
+
imageUri: imageUri,
|
|
173
|
+
log: log,
|
|
174
|
+
ecr: ecr
|
|
175
|
+
});
|
|
172
176
|
case 56:
|
|
177
|
+
return _context.abrupt("return", _context.sent);
|
|
178
|
+
case 57:
|
|
179
|
+
return _context.abrupt("return", false);
|
|
180
|
+
case 58:
|
|
173
181
|
case "end":
|
|
174
182
|
return _context.stop();
|
|
175
183
|
}
|
package/checkECRImageAccess.mjs
CHANGED