Skip to content

Commit 4d8dec1

Browse files
committed
fixup! migrate latest aws sdk v2 parts to aws sdk v3
migrate latest aws sdk v2 parts to aws sdk v3
1 parent b2e3639 commit 4d8dec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ensureServiceUser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function collectResource(v, done) {
181181
v.collect()
182182
.then(res => done(null, res))
183183
.catch((err) => {
184-
if (err && (err.code === 'NoSuchEntity' || err.name === 'NoSuchEntity')) {
184+
if (err.name === 'NoSuchEntity') {
185185
return done();
186186
}
187187

0 commit comments

Comments
 (0)