Skip to content

Commit

Permalink
patch node.env.NODE_ENV issue (action failed to update)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaSan147 committed Apr 17, 2024
1 parent e720485 commit 6f899f3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/cubism4.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@ var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
LogLevel2[LogLevel2["LogLevel_Off"] = 5] = "LogLevel_Off";
return LogLevel2;
})(LogLevel || {});
const CSM_ASSERT = process.env.NODE_ENV === "production" ? () => {
const CSM_ASSERT = typeof process !== "undefined" && process.env.NODE_ENV === "production" ? () => {
} : (expr) => console.assert(expr);
function CubismLogVerbose(fmt, ...args) {
CubismDebug.print(LogLevel.LogLevel_Verbose, "[CSM][V]" + fmt + "\n", args);
Expand Down
2 changes: 1 addition & 1 deletion dist/cubism4.js
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ var __async = (__this, __arguments, generator) => {
LogLevel2[LogLevel2["LogLevel_Off"] = 5] = "LogLevel_Off";
return LogLevel2;
})(LogLevel || {});
const CSM_ASSERT = process.env.NODE_ENV === "production" ? () => {
const CSM_ASSERT = typeof process !== "undefined" && process.env.NODE_ENV === "production" ? () => {
} : (expr) => console.assert(expr);
function CubismLogVerbose(fmt, ...args) {
CubismDebug.print(LogLevel.LogLevel_Verbose, "[CSM][V]" + fmt + "\n", args);
Expand Down
2 changes: 1 addition & 1 deletion dist/cubism4.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -4384,7 +4384,7 @@ var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
LogLevel2[LogLevel2["LogLevel_Off"] = 5] = "LogLevel_Off";
return LogLevel2;
})(LogLevel || {});
const CSM_ASSERT = process.env.NODE_ENV === "production" ? () => {
const CSM_ASSERT = typeof process !== "undefined" && process.env.NODE_ENV === "production" ? () => {
} : (expr) => console.assert(expr);
function CubismLogDebug(fmt, ...args) {
CubismDebug.print(LogLevel.LogLevel_Debug, "[CSM][D]" + fmt + "\n", args);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4386,7 +4386,7 @@ var __async = (__this, __arguments, generator) => {
LogLevel2[LogLevel2["LogLevel_Off"] = 5] = "LogLevel_Off";
return LogLevel2;
})(LogLevel || {});
const CSM_ASSERT = process.env.NODE_ENV === "production" ? () => {
const CSM_ASSERT = typeof process !== "undefined" && process.env.NODE_ENV === "production" ? () => {
} : (expr) => console.assert(expr);
function CubismLogDebug(fmt, ...args) {
CubismDebug.print(LogLevel.LogLevel_Debug, "[CSM][D]" + fmt + "\n", args);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Large diffs are not rendered by default.

0 comments on commit 6f899f3

Please sign in to comment.