removing strictMode
I thought it served a different purpose than it did in ./FromBase64.mjs
This commit is contained in:
parent
51eeeded5c
commit
ec899efdc1
@ -35,11 +35,6 @@ class FromHex extends Operation {
|
|||||||
name: "Remove non-alphabet chars",
|
name: "Remove non-alphabet chars",
|
||||||
type: "boolean",
|
type: "boolean",
|
||||||
value: true
|
value: true
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "Strict mode",
|
|
||||||
type: "boolean",
|
|
||||||
value: false
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
this.checks = [
|
this.checks = [
|
||||||
@ -103,7 +98,7 @@ class FromHex extends Operation {
|
|||||||
*/
|
*/
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
const [delim, removeNonAlphChars, strictMode] = [args[0] || "Auto", args[1], args[2]];
|
const [delim, removeNonAlphChars, strictMode] = [args[0] || "Auto", args[1], args[2]];
|
||||||
return fromHex(input, delim, 2, removeNonAlphChars, strictMode);
|
return fromHex(input, delim, 2, removeNonAlphChars);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user