@directivegames/genesys.sdk 3.3.6 → 3.3.7
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/src/core/common.js
CHANGED
|
@@ -98,6 +98,9 @@ export async function readdirAsync(dirPath) {
|
|
|
98
98
|
return await fs.promises.readdir(dirPath);
|
|
99
99
|
}
|
|
100
100
|
export function getProjectFolderAndFile(projectPath, logger) {
|
|
101
|
+
if (!fs.existsSync(projectPath)) {
|
|
102
|
+
return { folder: '', file: '' };
|
|
103
|
+
}
|
|
101
104
|
const isDirectory = fs.lstatSync(projectPath).isDirectory();
|
|
102
105
|
const folder = isDirectory ? projectPath : path.dirname(projectPath);
|
|
103
106
|
if (!fs.existsSync(folder)) {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|