Ghost/ghost/zip/index.js
Hannah Wolfe 3b6021a34e Swap extract-zip for @tryghost/extract-zip
- our version has some bug fixes
2020-03-20 20:03:40 +00:00

9 lines
242 B
JavaScript

const Promise = require('bluebird');
const extract = require('@tryghost/extract-zip');
const zipFolder = require('./lib/zip-folder');
module.exports = {
zipFolder: Promise.promisify(zipFolder),
extract: Promise.promisify(extract)
};