Skip to content

Commit

Permalink
fix: ensure langDir is escaped on Windows (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
kedrzu committed Mar 8, 2021
1 parent 8664056 commit a0a3adc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/templates/options.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<%
function stringifyValue(value) {
if (typeof value === 'string') {
return `'${value}'`
} else if (value === undefined || value === null || typeof value === 'boolean' || typeof value === 'function') {
if (value === undefined || typeof value === 'function') {
return String(value);
} else {
return JSON.stringify(value)
Expand Down

0 comments on commit a0a3adc

Please sign in to comment.