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

Script is assuming package.info #8

Open
dmaier-redislabs opened this issue Mar 9, 2020 · 1 comment
Open

Script is assuming package.info #8

dmaier-redislabs opened this issue Mar 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dmaier-redislabs
Copy link

There is an error message 'package.info: No such file ...' if running rls.sh from a folder which doesn't have a package.info file in it.

/Users/david/opt/slides-as-code-setup/rls.sh: line 8: package.info: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     6  100     6    0     0      8      0 --:--:-- --:--:-- --:--:--     8
Using docker image version  1.1.8 


Use one of the following arguments:
	init        - Creates a default presentation.md file you can use as a starting point
	serve       - Serves the slide deck in a browser
	export      - Exports the slide deck as a standalone html file (no dependencies)
	pdf         - Exports the slide deck as a pdf
	update      - Updates an existent presentation to the latest version% 
@dmaier-redislabs dmaier-redislabs added the bug Something isn't working label Mar 9, 2020
@elena-kolevska
Copy link
Contributor

elena-kolevska commented Mar 9, 2020

@nosqlgeek that message just reports there is no package.info file in the folder. The error here seems to be that there was no valid argument provided to the script. It should be one of the listed options. If you choose init (as it should be, in an empty folder without a package.info file), it will create the package info for you.
I could hide that message, but it might be kind of useful when that file is indeed expected but not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants