Skip to content

Commit

Permalink
[ci] Revise paths on instrumented code
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Jan 8, 2024
1 parent 7084f39 commit d403a11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ module.exports = function(grunt) {
shell: {
babel: {
command: "npx babel build/js --out-dir build/js"
},
fix_instrumented_paths: {
command: "find ./build/js/ -type f -exec sed -i -- 's/\\/client\\/build/\\/client\\/app/g' {} +"
}
}
});
Expand Down Expand Up @@ -1058,6 +1061,7 @@ module.exports = function(grunt) {
"clean",
"copy:sources",
"copy:coverage",
"shell:babel"
"shell:babel",
"shell:fix_instrumented_paths"
]);
};

0 comments on commit d403a11

Please sign in to comment.