Skip to content

Commit

Permalink
buildファイルの比較を緩い等価比較に変更 (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tksn07 authored Dec 28, 2023
1 parent fe7ef3e commit bb4e0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/splitNsisArchive.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ const createIni = (sizes, hashes) => {
// target: electron-builder.Target
exports.default = async function (target) {
const projectName = process.env.npm_package_name;
if (projectName === undefined) {
if (projectName == undefined) {
const ErrorMessage = "Project name is undefined.";
console.error(ErrorMessage);
throw ErrorMessage;
}
const projectVersion = process.env.npm_package_version;
if (projectVersion === undefined) {
if (projectVersion == undefined) {
const ErrorMessage = "Project version is undefined.";
console.error(ErrorMessage);
throw ErrorMessage;
Expand Down

0 comments on commit bb4e0b1

Please sign in to comment.