This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Bug in secman sync start
Command on Windows
#43
Labels
bug
Something isn't working
help wanted
Extra attention is needed
invalid
This doesn't seem right
wontfix
This will not be worked on
Comments
abdfnx
added
bug
Something isn't working
help wanted
Extra attention is needed
invalid
This doesn't seem right
wontfix
This will not be worked on
labels
May 24, 2021
oh no, two huge bugs 😤 |
I found the error, it's in ...
Run: func(cmd *cobra.Command, args []string) {
👉 startCmd := commands.Start_ml()
exCmd := commands.StartEX()
shell.SHCore(startCmd, startCmd)
shell.SHCore(exCmd, exCmd)
}, Start_ml function func Start_ml() string {
return `
SM_GH_UN=$(git config user.name)
cd $HOME/.secman
git init
echo "# My secman passwords - $SM_GH_UN" >> $HOME/.secman/README.md
secman repo create .secman -d "My secman passwords - $SM_GH_UN" --private -y
git add .
git commit -m "new .secman repo"
git branch -M trunk
git remote add origin https://github.com/$SM_GH_UN/.secman
git push -u origin trunk
`
} |
to fix it we just modify the Run: func(cmd *cobra.Command, args []string) {
exCmd := commands.StartEX()
shell.SHCore(commands.Start_ml(), commands.Start_w())
shell.SHCore(exCmd, exCmd)
}, |
👌 |
fixed |
abdfnx
added a commit
that referenced
this issue
May 31, 2021
abdfnx
added a commit
that referenced
this issue
Apr 21, 2022
#221) Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.14.0 to 1.14.1. - [Release notes](https://github.com/tidwall/gjson/releases) - [Commits](tidwall/gjson@v1.14.0...v1.14.1) --- updated-dependencies: - dependency-name: github.com/tidwall/gjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
abdfnx
pushed a commit
that referenced
this issue
May 5, 2022
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.14.0 to 1.14.1. - [Release notes](https://github.com/tidwall/gjson/releases) - [Commits](tidwall/gjson@v1.14.0...v1.14.1) --- updated-dependencies: - dependency-name: github.com/tidwall/gjson dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
Something isn't working
help wanted
Extra attention is needed
invalid
This doesn't seem right
wontfix
This will not be worked on
secman sync start
is very nice at macOS/linuxThe text was updated successfully, but these errors were encountered: