@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directivegames/genesys.sdk",
3
- "version": "3.3.6",
3
+ "version": "3.3.7",
4
4
  "description": "Genesys SDK - A development toolkit for game development",
5
5
  "author": "Directive Games",
6
6
  "main": "index.js",