diff --git a/node_modules/Joined.s b/node_modules/Joined.s index e95a5497..4f50722c 100644 --- a/node_modules/Joined.s +++ b/node_modules/Joined.s @@ -21866,14 +21866,10 @@ _.path.reroot.defaults = let starter = this; if( sourceFile && !basePath ) - { - basePath = sourceFile.dirPath; - } + basePath = sourceFile.dirPath; if( !basePath && !sourceFile ) - { - throw _.err( 'Base path is not specified, neither script file' ); - } + throw _.err( 'Base path is not specified, neither script file' ); let isAbsolute = filePath[ 0 ] === '/'; let isDotted = _.strBegins( filePath, './' ) || _.strBegins( filePath, '../' ) || filePath === '.' || filePath === '..'; @@ -21891,14 +21887,18 @@ _.path.reroot.defaults = if( !isDotted && !isAbsolute ) { if( starter.moduleMainFilesMap[ filePath ] ) - return starter.moduleMainFilesMap[ filePath ].filePath; - let filePathLower = filePath.toLowerCase(); - if( starter.moduleMainFilesMap[ filePathLower ] ) - return starter.moduleMainFilesMap[ filePathLower ].filePath; + { + filePath = starter.moduleMainFilesMap[ filePath ].filePath; + } + else + { + let filePathLower = filePath.toLowerCase(); + if( starter.moduleMainFilesMap[ filePathLower ] ) + filePath = starter.moduleMainFilesMap[ filePathLower ].filePath; + } } return _.path.nativize( filePath ); - // return filePath; } // diff --git a/package.json b/package.json index 05c0e2ff..39f26fc8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wretry.action", - "version": "1.0.16", + "version": "1.0.17", "description": "Retries an Github Action step on failure", "enabled": 0, "author": "Kostiantyn Wandalen ", diff --git a/will.yml b/will.yml index 4d8295b1..6fd7c965 100644 --- a/will.yml +++ b/will.yml @@ -1,6 +1,6 @@ about: name: wretry.action - version: 1.0.16 + version: 1.0.17 description: Retries an Github Action step on failure enabled: 0 author: Kostiantyn Wandalen