mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
js: Normalize strings to double quotes.
Prettier would do this anyway, but it’s separated out for a more reviewable diff. Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
06691e1e45
commit
f3726db89a
@@ -11,7 +11,7 @@
|
||||
* unicode string containing their diff.
|
||||
*/
|
||||
|
||||
const difflib = require('difflib');
|
||||
const difflib = require("difflib");
|
||||
|
||||
function apply_color(input_string, changes) {
|
||||
let previous_index = 0;
|
||||
@@ -126,7 +126,7 @@ module.exports = { diff_strings };
|
||||
// Only run this code if called as a command-line utility
|
||||
if (require.main === module) {
|
||||
// First two args are just "node" and "mdiff.js"
|
||||
const argv = require('minimist')(process.argv.slice(2));
|
||||
const argv = require("minimist")(process.argv.slice(2));
|
||||
|
||||
if (Object.prototype.hasOwnProperty.call(argv, "help")) {
|
||||
console.log(process.argv[0] + " " + process.argv[1] +
|
||||
|
||||
Reference in New Issue
Block a user