Skip to content

Commit aa6ecdb

Browse files
committed
Corrected web/node detection
1 parent 2a7fdc8 commit aa6ecdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/shen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = class Shen {
22
constructor (options = {}) {
3-
const target = typeof process === undefined ? 'web' : 'node';
3+
const target = typeof process === 'undefined' ? 'web' : 'node';
44
const backend = require('./backend.js');
55
const config = require(`./config.${target}.js`);
66
const kernel = require('./kernel.js');

0 commit comments

Comments
 (0)