Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Fix ESLint warnings #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions exploit/AltCaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var utils = require('./utils');

function getChainVersion() {
if (navigator.userAgent.indexOf('NF/4.0.0.4.25 ') !== -1) {
return '1.0.0'
return '1.0.0';
} else if (navigator.userAgent.indexOf('NF/4.0.0.5.9 ') !== -1) {
return '2.0.0';
} else if (navigator.userAgent.indexOf('NF/4.0.0.5.10 ') !== -1) {
Expand Down Expand Up @@ -316,7 +316,7 @@ class AltCaller {
} else if (this.chainVersion !== '1.0.0') {
sc.write8(arg, this.stackArgsPointer, ((i - 8) * 8) >> 2);
} else {
throw new Error('too many arguments')
throw new Error('too many arguments');
}
}

Expand Down Expand Up @@ -387,7 +387,7 @@ class AltCaller {
} else if (this.chainVersion !== '1.0.0') {
sc.write8(arg, this.stackArgsPointer, ((i - 8) * 8) >> 2);
} else {
throw new Error('too many arguments')
throw new Error('too many arguments');
}
}
var calledRegOffset = this.calledRegOffset;
Expand Down
2 changes: 1 addition & 1 deletion exploit/runNro.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires spl MITM and ro!ease_nro_restriction = 0x1
*/

var utils = require("./utils")
var utils = require("./utils");

module.exports = (res, args) => {
if(!sc.sdb) {
Expand Down
Loading