Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplying -Topic With Measure-Karma -Meditate doesn't open in IDE #422

Open
Manbearpiet opened this issue Nov 24, 2020 · 1 comment
Open
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!
Milestone

Comments

@Manbearpiet
Copy link

Manbearpiet commented Nov 24, 2020

Describe "Module Bug or Issue"

I cannot use the -Topic switch when utilizing Measure-Karma

Context "The Problem"

Measure-Karma -Meditate -Topic AboutNumbers
(nothing happens)
Measure-Karma -Meditate -Topic AboutNumbers -Debug
(nothing happens)
Measure-Karma -Meditate -Topic AboutNumbers -Verbose
VERBOSE: Sorting koans...
VERBOSE: Checking existence of koans folder
VERBOSE: Koan files retrieved: 1
VERBOSE: Counting koans...
VERBOSE: Parsing koan files from []
VERBOSE: Total Koans: 5
VERBOSE: Testing karma with file [C:\Users\user\PSKoans\Introduction\AboutNumbers.Koans.ps1]
VERBOSE: Populating RepositorySourceLocation property for module PSKoans.
VERBOSE: Populating RepositorySourceLocation property for module PSKoans.
VERBOSE: Karma: 5
VERBOSE: Checking existence of koans folder

Measure-Karma -Meditate -Topic AboutBooleans
(nothing happens)
 Measure-Karma -Meditate -Topic AboutBooleans -Verbose
VERBOSE: Sorting koans...
VERBOSE: Checking existence of koans folder
VERBOSE: Koan files retrieved: 1
VERBOSE: Counting koans...
VERBOSE: Parsing koan files from []
VERBOSE: Total Koans: 6
VERBOSE: Testing karma with file [C:\Users\user\PSKoans\Introduction\AboutBooleans.Koans.ps1]
VERBOSE: Populating RepositorySourceLocation property for module PSKoans.
VERBOSE: Populating RepositorySourceLocation property for module PSKoans.
VERBOSE: Karma: 6
VERBOSE: Checking existence of koans folder

I tried manually updating with Update-PSKoan.

Context "Expected Behavior"

I expect it to open the specific koan-file like it used to.

Context "Additional Information"

Name    Version
----    -------
PSKoans 0.67.1
PSKoans 0.67.0

Name                           Value
----                           -----
PSVersion                      7.1.0
PSEdition                      Core
GitCommitId                    7.1.0
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

This does work
code C:\Users\user\PSKoans\Introduction\AboutNumbers.Koans.ps1

@Manbearpiet Manbearpiet added Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it! labels Nov 24, 2020
@vexx32
Copy link
Owner

vexx32 commented Nov 24, 2020

VERBOSE: Checking existence of koans folder
VERBOSE: Koan files retrieved: 1
VERBOSE: Counting koans...
VERBOSE: Parsing koan files from []
VERBOSE: Total Koans: 5

This bit is very odd. It finds a file, somehow forgets / misplaces the filename, and then proceeds to count koans instead of opening the file.

Definitely something to look into, thanks!

@vexx32 vexx32 added this to the Future milestone Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category-Module Pertaining to the module's functionality itself. Issue-Discussion Let's talk about it!
Projects
None yet
Development

No branches or pull requests

2 participants