Skip to content

Commit

Permalink
fix: typo on line 11 sucm => such (#412)
Browse files Browse the repository at this point in the history
meAnurag authored Jul 27, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c272b0f commit 7ab86f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NativeNfcManager.js
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ function callNative(name, params = []) {
const nativeMethod = NativeNfcManager[name];

if (!nativeMethod) {
throw new Error(`no sucm native method: "${name}"`);
throw new Error(`no such native method: "${name}"`);
}

if (!Array.isArray(params)) {

0 comments on commit 7ab86f4

Please sign in to comment.