Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[Botskills] Get the LU filename using basename #3152

Merged
merged 1 commit into from
Mar 8, 2020

Conversation

Batta32
Copy link
Collaborator

@Batta32 Batta32 commented Mar 6, 2020

Fix #3148

Purpose

What is the context of this pull request? Why is it being done?
The use of split('\\') is incompatible between OS, basename method returns the last portion of a path, similar to the Unix basename command ignoring the trailing directory separators.

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)

  • Change the split('\\') to basename in order to get the last portion of path

Tests

Is this covered by existing tests or new ones? If no, why not?
-

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

@darrenj darrenj merged commit cb27272 into master Mar 8, 2020
@delete-merged-branch delete-merged-branch bot deleted the feature/southworks/fix/connect-mac-issue branch March 8, 2020 17:09
ryanisgrig added a commit that referenced this pull request Jul 8, 2020
…re-introduce-basename

[PORT #3152][Botskills] Get the LU filename using basename
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command botskills connect --remoteManifest Failed
4 participants