Skip to content

Commit

Permalink
fix: typo on line 11 sucm => such (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
meAnurag authored Jul 27, 2021
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
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7ab86f4

Please sign in to comment.