esoftplay 0.0.135-e → 0.0.135-f
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 +0 -4
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -815,28 +815,24 @@ function configAvailable(enabled) {
|
|
|
815
815
|
if (fs.existsSync(gitignore)) {
|
|
816
816
|
let _git = fs.readFileSync(gitignore, 'utf8')
|
|
817
817
|
var ignore = "config.json"
|
|
818
|
-
var notignore = /\#{1,}config\.json/g
|
|
819
818
|
if (enabled) {
|
|
820
819
|
_git = _git.replace('\n' + ignore, '\n#' + ignore)
|
|
821
820
|
} else {
|
|
822
821
|
_git = _git.replace('\n#' + ignore, ignore)
|
|
823
822
|
}
|
|
824
823
|
var ignore = "config.live.json"
|
|
825
|
-
var notignore = /\#{1,}config\.live\.json/g
|
|
826
824
|
if (enabled) {
|
|
827
825
|
_git = _git.replace('\n' + ignore, '\n#' + ignore)
|
|
828
826
|
} else {
|
|
829
827
|
_git = _git.replace('\n#' + ignore, ignore)
|
|
830
828
|
}
|
|
831
829
|
var ignore = "config.debug.json"
|
|
832
|
-
var notignore = /\#{1,}config\.debug\.json/g
|
|
833
830
|
if (enabled) {
|
|
834
831
|
_git = _git.replace('\n' + ignore, '\n#' + ignore)
|
|
835
832
|
} else {
|
|
836
833
|
_git = _git.replace('\n#' + ignore, ignore)
|
|
837
834
|
}
|
|
838
835
|
var ignore = "code-signing/"
|
|
839
|
-
var notignore = /\#{1,}code-signing\//g
|
|
840
836
|
if (enabled) {
|
|
841
837
|
_git = _git.replace('\n' + ignore, '\n#' + ignore)
|
|
842
838
|
} else {
|