Yudu
Yudu
> @deepakanand any idea how to resolve this issue? Just specify this variable in the `Node.js` environment. Instead of ```js new webpack.DefinePlugin({ YOUR_VARIABLE: JSON.stringify(true), }); ``` Use ```bash $ YOUR_VARIABLE=true...
Maybe [to-single-quotes](http://npmjs.com/package/to-single-quotes) is a better choice than modifying this module. ```javascript const toSingleQuotes = require('to-single-quotes'); toSingleQuotes('I love "unicorns" \'and\' "ponies"'); //=> "I love 'unicorns' 'and' 'ponies'"
It seems [to-single-quotes](http://npmjs.com/package/to-single-quotes) won't modify double quotes inside quotes. So it won't produce a change of the string value. Sample code: ```javascript const tosource = require('tosource') const singlequote = require('to-single-quotes')...
Another solution: roll back changes and do it again with `DEBUG=knex:query` environment variable set. ```bash # rollback knex migrate:rollback # do it again DEBUG=knex:query knex migrate:latest ```