| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ const path = require("path"); | |||
| 2 | 2 | const combyne = require("combyne"); | |
| 3 | 3 | const promisify = require("promisify-node"); | |
| 4 | 4 | const fse = promisify(require("fs-extra")); | |
| 5 | - const js_beautify = require('js-beautify').js_beautify; | ||
| 5 | + const js_beautify = require("js-beautify").js_beautify; | ||
| 6 | 6 | const beautify = function (input) { | |
| 7 | 7 | return js_beautify(input, { | |
| 8 | 8 | "brace_style": "end-expand", | |
@@ -126,15 +126,15 @@ module.exports = function() { | |||
| 126 | 126 | ||
| 127 | 127 | utils.writeFile("../lib/enums.js", beautify(templates.enums.render(enabled))); | |
| 128 | 128 | }).then(function() { | |
| 129 | - return exec('command -v astyle').then(function(astyle) { | ||
| 129 | + return exec("command -v astyle").then(function(astyle) { | ||
| 130 | 130 | if (astyle) { | |
| 131 | 131 | return exec( | |
| 132 | - 'astyle --options=\".astylerc\" ' | ||
| 132 | + "astyle --options=\".astylerc\" " | ||
| 133 | 133 | + path.resolve(__dirname, "../../src") + "/*.cc " | |
| 134 | 134 | + path.resolve(__dirname, "../../include") + "/*.h" | |
| 135 | 135 | ).then(function() { | |
| 136 | 136 | return exec( | |
| 137 | - 'rm ' | ||
| 137 | + "rm " | ||
| 138 | 138 | + path.resolve(__dirname, "../../src") + "/*.cc.orig " | |
| 139 | 139 | + path.resolve(__dirname, "../../include") + "/*.h.orig " | |
| 140 | 140 | ); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments