@bytebase/dbhub 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -864,7 +864,7 @@ var __dirname2 = path2.dirname(__filename2);
|
|
|
864
864
|
var DEMO_DATA_DIR;
|
|
865
865
|
var projectRootPath = path2.join(__dirname2, "..", "..", "..");
|
|
866
866
|
var projectResourcesPath = path2.join(projectRootPath, "resources", "employee-sqlite");
|
|
867
|
-
var distPath = path2.join(__dirname2, "
|
|
867
|
+
var distPath = path2.join(__dirname2, "resources", "employee-sqlite");
|
|
868
868
|
if (fs2.existsSync(projectResourcesPath)) {
|
|
869
869
|
DEMO_DATA_DIR = projectResourcesPath;
|
|
870
870
|
} else if (fs2.existsSync(distPath)) {
|