Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
alqmc committed Nov 18, 2022
1 parent d2bcb97 commit b0aceaf
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions dist/gacm.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const log = {
};

var name$1 = "gacm";
var version$1 = "1.2.4";
var version$1 = "1.2.5";
var description$1 = "gacm";
var scripts = {
build: "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts",
Expand Down Expand Up @@ -202,7 +202,7 @@ const printMessages = (messages) => {
};

var name = "gacm";
var version = "1.2.4";
var version = "1.2.5";
var description = "git account manage";
var keywords = [
"git",
Expand Down Expand Up @@ -239,8 +239,10 @@ var pkg = {

const useLs = async () => {
const userList = await getFileUser(registriesPath) || { version: pkg.version, users: [], registry: [] };
const currectUser = await execCommand("git", ["config", "user.name"]);
const currectEmail = await execCommand("git", ["config", "user.email"]);
const currectUser = await execCommand("git", ["config", "user.name"]).catch(() => {
});
const currectEmail = await execCommand("git", ["config", "user.email"]).catch(() => {
});
if (userList.users.length === 0 && (!currectUser || !currectEmail)) {
return log.info("no user");
}
Expand Down
4 changes: 2 additions & 2 deletions dist/gnrm.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var prompts__default = /*#__PURE__*/_interopDefaultLegacy(prompts);
var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);

var name$1 = "gacm";
var version$1 = "1.2.4";
var version$1 = "1.2.5";
var description$1 = "git account manage";
var keywords = [
"git",
Expand Down Expand Up @@ -82,7 +82,7 @@ const log = {
};

var name = "gacm";
var version = "1.2.4";
var version = "1.2.5";
var description = "gacm";
var scripts = {
build: "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts",
Expand Down
2 changes: 1 addition & 1 deletion dist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gacm",
"version": "1.2.4",
"version": "1.2.5",
"private": false,
"description": "git account manage",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gacm",
"version": "1.2.4",
"version": "1.2.5",
"description": "gacm",
"scripts": {
"build": "gulp --require sucrase/register/ts --gulpfile build/gulpfile.ts",
Expand Down
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gacm",
"version": "1.2.4",
"version": "1.2.5",
"private": false,
"description": "git account manage",
"keywords": [
Expand Down

0 comments on commit b0aceaf

Please sign in to comment.