fix small error
This commit is contained in:
parent
fe9ea47208
commit
4753a4ff82
2
dist/npmts.options.js
vendored
2
dist/npmts.options.js
vendored
@ -2,7 +2,7 @@
|
|||||||
/// <reference path="./typings/main.d.ts" />
|
/// <reference path="./typings/main.d.ts" />
|
||||||
var plugins = require("./npmts.plugins");
|
var plugins = require("./npmts.plugins");
|
||||||
exports.isRelease = function () {
|
exports.isRelease = function () {
|
||||||
if (plugins.smartci.check.isCi() && plugins.smartci.isTaggedCommit()) {
|
if (plugins.smartci.check.isCi() && plugins.smartci.check.isTaggedCommit()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
import plugins = require("./npmts.plugins");
|
import plugins = require("./npmts.plugins");
|
||||||
|
|
||||||
export let isRelease = function():boolean {
|
export let isRelease = function():boolean {
|
||||||
if (plugins.smartci.check.isCi() && plugins.smartci.isTaggedCommit()){
|
if (plugins.smartci.check.isCi() && plugins.smartci.check.isTaggedCommit()){
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user