esoftplay 0.0.135-c → 0.0.135-d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +4 -4
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -819,28 +819,28 @@ function configAvailable(enabled) {
|
|
|
819
819
|
if (enabled) {
|
|
820
820
|
_git = _git.replace('\n' + ignore, '#' + ignore)
|
|
821
821
|
} else {
|
|
822
|
-
_git = _git.replace(
|
|
822
|
+
_git = _git.replace('#' + ignore, ignore)
|
|
823
823
|
}
|
|
824
824
|
var ignore = "config.live.json"
|
|
825
825
|
var notignore = /\#{1,}config\.live\.json/g
|
|
826
826
|
if (enabled) {
|
|
827
827
|
_git = _git.replace('\n' + ignore, '#' + ignore)
|
|
828
828
|
} else {
|
|
829
|
-
_git = _git.replace(
|
|
829
|
+
_git = _git.replace('#' + ignore, ignore)
|
|
830
830
|
}
|
|
831
831
|
var ignore = "config.debug.json"
|
|
832
832
|
var notignore = /\#{1,}config\.debug\.json/g
|
|
833
833
|
if (enabled) {
|
|
834
834
|
_git = _git.replace('\n' + ignore, '#' + ignore)
|
|
835
835
|
} else {
|
|
836
|
-
_git = _git.replace(
|
|
836
|
+
_git = _git.replace('#' + ignore, ignore)
|
|
837
837
|
}
|
|
838
838
|
var ignore = "code-signing/"
|
|
839
839
|
var notignore = /\#{1,}code-signing\//g
|
|
840
840
|
if (enabled) {
|
|
841
841
|
_git = _git.replace('\n' + ignore, '#' + ignore)
|
|
842
842
|
} else {
|
|
843
|
-
_git = _git.replace(
|
|
843
|
+
_git = _git.replace('#' + ignore, ignore)
|
|
844
844
|
}
|
|
845
845
|
fs.writeFileSync(gitignore, _git, { encoding: 'utf8' })
|
|
846
846
|
} else {
|