Skip to content

Commit 7b8b93b

Browse files
committed
Updated path error
1 parent 14cadd5 commit 7b8b93b

13 files changed

Lines changed: 309 additions & 341 deletions

File tree

constants/blend_mode.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use strict";
2-
31
const MODE = {
42
sourceOver: "source-over",
53
sourceIn: "source-in",

constants/network.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use strict";
2-
31
const NETWORK = {
42
eth: "eth",
53
sol: "sol",

index.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
"use strict";
2-
3-
const path = require("path");
4-
const isLocal = typeof process.pkg === "undefined";
5-
const basePath = isLocal ? process.cwd() : path.dirname(process.execPath);
6-
const { startCreating, buildSetup } = require(path.join(
7-
basePath,
8-
"/src/main.js"
9-
));
1+
const basePath = process.cwd();
2+
const { startCreating, buildSetup } = require(`${basePath}/src/main.js`);
103

114
(() => {
125
buildSetup();

package-lock.json

Lines changed: 99 additions & 104 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hashlips_art_engine",
3-
"version": "1.0.9",
3+
"version": "1.1.1",
44
"description": "HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.",
55
"main": "index.js",
66
"bin": "index.js",

0 commit comments

Comments
 (0)