diff --git a/grunt/string-replace.js b/grunt/string-replace.js index b17c375b9..d74743ac6 100644 --- a/grunt/string-replace.js +++ b/grunt/string-replace.js @@ -47,7 +47,7 @@ module.exports = { }, options: { replacements: [{ - pattern: /APP_VERSION=['"]['"];/ig, + pattern: 'APP_VERSION=""', replacement: 'APP_VERSION="<%= appVersion %>";' }] } diff --git a/src/config/shim.js b/src/config/shim.js index 78d43d703..b0aa842dc 100644 --- a/src/config/shim.js +++ b/src/config/shim.js @@ -1,6 +1,7 @@ (function() { // ############ DON'T EDIT THIS LINE - var APP_VERSION = ''; + // prettier-ignore + var APP_VERSION=""; // ################################# /*