aboutsummaryrefslogtreecommitdiff
path: root/lib/diff.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/diff.js')
-rw-r--r--lib/diff.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diff.js b/lib/diff.js
index cf73cbdf7..4566623ca 100644
--- a/lib/diff.js
+++ b/lib/diff.js
@@ -139,7 +139,7 @@ function cleanAndGetIndexes(text) {
function newTempDir() {
return new Promise(function (resolve, reject) {
- temp.mkdir('gcc-explorer-diff', function (err, dirPath) {
+ temp.mkdir('compiler-explorer-diff', function (err, dirPath) {
if (err)
reject("Unable to open temp file: " + err);
else
@@ -170,8 +170,8 @@ function buildDiffHandler(config) {
var tempBeforePath, tempAfterPath;
newTempDir()
.then(function (tmpDir) {
- tempBeforePath = path.join(tmpDir, "gcc-explorer-wdiff-before");
- tempAfterPath = path.join(tmpDir, "gcc-explorer-wdiff-after");
+ tempBeforePath = path.join(tmpDir, "compiler-explorer-wdiff-before");
+ tempAfterPath = path.join(tmpDir, "compiler-explorer-wdiff-after");
return Promise.all(
writeFile(tempBeforePath, before),
writeFile(tempAfterPath, after)