'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = isDirEmptySync;

var _fsExtra;

function _load_fsExtra() {
  return _fsExtra = _interopRequireDefault(require('fs-extra'));
}

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function isDirEmptySync(dirPath) {
  return !(_fsExtra || _load_fsExtra()).default.readdirSync(dirPath).length;
}