Skip to content

Commit b88853e

Browse files
committed
[fix] docker.yml license issue
1 parent f17fdc9 commit b88853e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ jobs:
288288
if(existsSync(path)){
289289
let license = readFileSync(file).toString();
290290
license = license.replace(/Copyright \(c\) \d{4} /i, `Copyright (c) ${new Date().getFullYear()} `);
291-
writeFileSync(license, path);
291+
writeFileSync(path, license);
292292
}else{
293293
throw new Error(`file ${file} does not exist`);
294294
}

0 commit comments

Comments
 (0)