-
Notifications
You must be signed in to change notification settings - Fork 697
Closed
Description
Hi!
var GitRepository = require('nodegit').Repository;
var GitTag = require('nodegit').Tag;
var Promise = require('bluebird');
var tags = GitRepository.open(repositoryPath).then(function (repo) {
GitTag.list(repo);
});
Promise.map(tags, function (tag) {
return {
name: tag.name()
}
}).then(function (tags) {
res.json(tags);
});
This code throws error: Repository repo is required.
.
Metadata
Metadata
Assignees
Labels
No labels