From 3ca4448afc784bc3ab5fc94692613e67fa22891e Mon Sep 17 00:00:00 2001 From: joshaber Date: Wed, 2 Dec 2015 14:53:57 -0500 Subject: [PATCH] Use the ES6 export syntax. --- src/git-repository-async.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git-repository-async.js b/src/git-repository-async.js index 7f173b737..a9f365e13 100644 --- a/src/git-repository-async.js +++ b/src/git-repository-async.js @@ -13,7 +13,7 @@ const indexStatusFlags = Git.Status.STATUS.INDEX_NEW | Git.Status.STATUS.INDEX_M // Just using this for _.isEqual and _.object, we should impl our own here import _ from 'underscore-plus' -module.exports = class GitRepositoryAsync { +export default class GitRepositoryAsync { static open (path, options = {}) { // QUESTION: Should this wrap Git.Repository and reject with a nicer message? return new GitRepositoryAsync(path, options)