Skip to content

Commit 2e77241

Browse files
zhuangyabcoe
authored andcommitted
fix: use global due to deprecated GLOBAL (#7)
1 parent abb32d8 commit 2e77241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
if (typeof GLOBAL.Promise === 'undefined') GLOBAL.Promise = require('bluebird')
3+
if (typeof global.Promise === 'undefined') global.Promise = require('bluebird')
44

55
var Yarsay = require('./yarsay')
66
var argv = require('yargs')

0 commit comments

Comments
 (0)