Skip to content

Commit 8a74c7a

Browse files
huanRyan Munro
authored andcommitted
restore let = require, instead of const {} = require
1 parent a999850 commit 8a74c7a

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

test.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
'use strict';
22

3-
const {
4-
pythonBridge,
5-
PythonException,
6-
isPythonException,
7-
} = require('./');
8-
// let pythonBridge = require('./');
9-
// let PythonException = pythonBridge.PythonException;
10-
// let isPythonException = pythonBridge.isPythonException;
3+
let pythonBridge = require('./');
4+
let PythonException = pythonBridge.PythonException;
5+
let isPythonException = pythonBridge.isPythonException;
116
let test = require('tap').test;
127
let Promise = require('bluebird');
138
let mkdirTemp = Promise.promisify(require('temp').mkdir);

0 commit comments

Comments
 (0)