We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8100692 commit b5e774aCopy full SHA for b5e774a
1 file changed
lib/oid.js
@@ -1,19 +1,17 @@
1
var git = require( '../' );
2
3
-var _Oid = function( obj ) {
+var _Oid = function(obj) {
4
var self = {};
5
6
- if( obj instanceof git.raw.Oid ) {
+ if(obj instanceof git.raw.Oid) {
7
self.oid = obj;
8
- }
9
- else {
+ } else {
10
self.oid = new git.raw.Oid();
11
12
- if( typeof obj === 'string' ) {
13
- self.oid.mkstr( obj );
+ if (typeof obj === 'string') {
+ self.oid.mkstr(obj);
14
}
15
16
-
17
return self;
18
};
19
0 commit comments