Skip to content

Commit

Permalink
fix: remove comments and not needed check
Browse files Browse the repository at this point in the history
  • Loading branch information
freaz committed Dec 8, 2022
1 parent dabaaa0 commit 69a92ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/core/interpreter/sandbox/sandbox.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { VM } from 'vm2';

import type { IConfig, ILogger} from '../../../interfaces';
import { isBinaryData } from '../../../interfaces';
// import { isBinaryData, isChunked } from '../../../interfaces';
import type { NonPrimitive } from '../../../lib';
import { isClassInstance } from '../../../lib';
import { getStdlib } from './stdlib';
Expand All @@ -21,7 +19,6 @@ function vm2ExtraArrayKeysFixup<T>(value: T): T {
if (
Buffer.isBuffer(value) ||
value instanceof ArrayBuffer ||
isBinaryData(value) || // maybe not needed?
isClassInstance(value) ||
Symbol.iterator in value ||
Symbol.asyncIterator in value
Expand Down
1 change: 0 additions & 1 deletion src/lib/object/object.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import { isChunked } from '../../interfaces';
import { UnexpectedError } from '../error';
import { isClassInstance } from '../variables';

Expand Down

0 comments on commit 69a92ad

Please sign in to comment.