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

[iegitaddmd]: Issue with customfile() #302

Closed
bbdaniels opened this issue Nov 11, 2022 · 1 comment
Closed

[iegitaddmd]: Issue with customfile() #302

bbdaniels opened this issue Nov 11, 2022 · 1 comment
Assignees
Labels
minor bug Bug unlikely to lead to incorrect analysis resolved but not yet published Issue is fixed, but not yet published on SSC

Comments

@bbdaniels
Copy link
Contributor

The customfile() option does not appear to work as expected. I have run:

. iegitaddmd , folder("/Users/bbdaniels/GitHub/bbd-template") auto customfile("/Users/bbdaniels/GitHub/bbd-template/README.md")
    File [/Users/bbdaniels/GitHub/bbd-template/ado/README.md] created.
    File [/Users/bbdaniels/GitHub/bbd-template/do/README.md] created.
    File [/Users/bbdaniels/GitHub/bbd-template/constructed/README.md] created.
    SKIPPED: Folder [/Users/bbdaniels/GitHub/bbd-template/.git] is skipped. See option skipvars() in iegitaddmd.
    File [/Users/bbdaniels/GitHub/bbd-template/data/README.md] created.
    File [/Users/bbdaniels/GitHub/bbd-template/outputs/appendix/README.md] created.
    File [/Users/bbdaniels/GitHub/bbd-template/outputs/explore/README.md] created.
    File [/Users/bbdaniels/GitHub/bbd-template/outputs/main/README.md] created.

But the default file is still created:

Screen Shot

The help file documentation uses the wrong option name and is not helpful in resolving this:

file(filename) allows the user to specify a file saved on the computer to be used as
        the placeholder file instead of the default README.md file. This allows people
        and organizations to write their own template placeholder files according to
        their own preferences. We recommend that a file of type .md (markdown) and name
        README.md is used as GitHub.com recognizes this name and format and will display
        the content of the file when someone browse to that folder on GitHub.com. But
        this is not a technical requirement, any file type and name can be used as
        placeholder file.
@bbdaniels bbdaniels added the minor bug Bug unlikely to lead to incorrect analysis label Nov 11, 2022
@kbjarkefur
Copy link
Contributor

I was able to replicate and the fix was easy and done in 36e5ac7

@kbjarkefur kbjarkefur added the resolved but not yet published Issue is fixed, but not yet published on SSC label Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor bug Bug unlikely to lead to incorrect analysis resolved but not yet published Issue is fixed, but not yet published on SSC
Projects
None yet
Development

No branches or pull requests

2 participants