anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / office / activitywatch / commit-hash.patch
blob083d333230b55ee745461dc27774c4574cb21b97
1 diff --git a/vue.config.js b/vue.config.js
2 index 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
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);
13 export default {