Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit fce2d56

Browse files
committed
build/deploy.js
1 parent 6258466 commit fce2d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/deploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ getBranchName().then(
128128

129129
// Copy and update index.html
130130
console.info('Copy and update index.html');
131-
var index = fs.readFileSync('index.html', 'utf-8');
131+
var index = fs.readFileSync(path + 'index.html', 'utf-8');
132132
index = index.replace(/@@VERSION/g, pkg.version);
133133
index = index.replace(/@@DATE/, pkg.date);
134134
fs.writeFileSync(path + 'index.html', index);

0 commit comments

Comments
 (0)