Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 13 lines 523 B view raw
1diff --git a/vue.config.js b/vue.config.js 2index d6fdd46..141d28f 100644 3--- a/vue.config.js 4+++ b/vue.config.js 5@@ -9,7 +9,7 @@ const __filename = fileURLToPath(import.meta.url); // get the resolved path to t 6 const __dirname = path.dirname(__filename); // get the name of the directory 7 8 // get git info from command line 9-const _COMMIT_HASH = child_process.execSync('git rev-parse --short HEAD').toString().trim(); 10+const _COMMIT_HASH = "@commit_hash@"; 11 console.info('Commit hash:', _COMMIT_HASH); 12 13 export default {