repository-provider
Advanced tools
Comparing version 3.7.0 to 3.8.0
@@ -78,2 +78,5 @@ 'use strict'; | ||
} | ||
get ref() { | ||
return `refs/heads/${this.name}`; | ||
} | ||
get isDefault() { | ||
@@ -80,0 +83,0 @@ return this.name === "master"; |
{ | ||
"name": "repository-provider", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"publishConfig": { | ||
@@ -39,3 +39,3 @@ "access": "public" | ||
"nyc": "^13.0.1", | ||
"rollup": "^0.65.0", | ||
"rollup": "^0.65.1", | ||
"rollup-plugin-cleanup": "^3.0.0", | ||
@@ -42,0 +42,0 @@ "rollup-plugin-commonjs": "^9.1.6", |
@@ -117,2 +117,10 @@ import { notImplementedError } from "./util"; | ||
/** | ||
* Git branch ref name | ||
* @return {string} git ref of the branch | ||
*/ | ||
get ref() { | ||
return `refs/heads/${this.name}`; | ||
} | ||
/** | ||
* Are we the default branch | ||
@@ -119,0 +127,0 @@ * @return {boolean} true if name is 'master' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54090
1302