Skip to content

Commit 658c309

Browse files
Update c-dependencies/js-compute-runtime/builtins/secret-store.cpp
Co-authored-by: Trevor Elliott <[email protected]>
1 parent cde22e3 commit 658c309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

c-dependencies/js-compute-runtime/builtins/secret-store.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ bool SecretStore::get(JSContext *cx, unsigned argc, JS::Value *vp) {
8686
return ReturnPromiseRejectedWithPendingError(cx, args);
8787
}
8888

89-
std::string_view keyView(key.get(), length);
89+
std::string_view key_view(key.get(), length);
9090

9191
// key must contain only letters, numbers, dashes (-), underscores (_), and periods (.).
92-
auto is_valid_key = std::all_of(keyView.begin(), keyView.end(), [&](auto character) {
92+
auto is_valid_key = std::all_of(key_view.begin(), key_view.end(), [&](auto character) {
9393
return std::isalnum(character) || character == '_' || character == '-' || character == '.';
9494
});
9595

0 commit comments

Comments
 (0)