optional.js 118 Bytes
Newer Older
liang ce committed
1 2 3 4 5 6
"use strict";
try {
  module.exports = require('./register')().Promise || null
} catch(e) {
  module.exports = null
}