Skip to content

clearing protected settings #11

Open
norakoiralamsft wants to merge 6 commits into
Azure:masterfrom
norakoiralamsft:norakoirala/bugfix
Open

clearing protected settings #11
norakoiralamsft wants to merge 6 commits into
Azure:masterfrom
norakoiralamsft:norakoirala/bugfix

Conversation

@norakoiralamsft

Copy link
Copy Markdown
Contributor

-- clears out file in config folder (ex: 0.settings)

}
content := []byte("")
for _, file := range configDir {
if strings.Compare(filepath.Ext(file.Name()), settingsFileSuffix) == 0 { //checking if its a settings file

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

save file.Name() and reuse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants