replace-in-file
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -195,3 +195,8 @@ 'use strict'; | ||
//Get config and globs | ||
const {files, from, to, allowEmptyPaths, encoding} = config; | ||
// const {files, from, to, allowEmptyPaths, encoding} = config; | ||
const files = config.files; | ||
const from = config.from; | ||
const to = config.to; | ||
const encoding = config.encoding; | ||
const allowEmptyPaths = config.allowEmptyPaths; | ||
const globs = Array.isArray(files) ? files : [files]; | ||
@@ -246,3 +251,7 @@ | ||
//Get config and globs | ||
const {files, from, to, encoding} = config; | ||
// const {files, from, to, encoding} = config; | ||
const files = config.files; | ||
const from = config.from; | ||
const to = config.to; | ||
const encoding = config.encoding; | ||
const globs = Array.isArray(files) ? files : [files]; | ||
@@ -249,0 +258,0 @@ const changedFiles = []; |
{ | ||
"name": "replace-in-file", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "A simple utility to quickly replace text in one or more files.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/adamreisnz/replace-in-file#readme", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126557
900