We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f17fdc9 commit b88853eCopy full SHA for b88853e
1 file changed
.github/workflows/docker.yml
@@ -288,7 +288,7 @@ jobs:
288
if(existsSync(path)){
289
let license = readFileSync(file).toString();
290
license = license.replace(/Copyright \(c\) \d{4} /i, `Copyright (c) ${new Date().getFullYear()} `);
291
- writeFileSync(license, path);
+ writeFileSync(path, license);
292
}else{
293
throw new Error(`file ${file} does not exist`);
294
}
0 commit comments