Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在deploy中插件中改变modified中文件内容,total中的文件内容不改变,fis3-deploy-replace改变内容后 fis3-deploy-zip打包出去的内容未改变 #1338

Open
DreamTear opened this issue Nov 16, 2023 · 0 comments

Comments

@DreamTear
Copy link

  • 操作系统: win10
  • Node版本: v12.22.12
  • FIS版本: v3.5.0-beta.3
  • 操作过程
    1、在deploy的时候使用fis3-deploy-replace插件替换了文件中的内容,
    2、然后通过fis3-deploy-zip进行打包生成zip文件
  • 结果
    未替换前的内容出现在文件中
  • 预期结果
    替换后的内容出现在zip包中
  • 原因分析
    出现的原因时deploy插件中modified和total中的文件对象不同,fis3-deploy-replace插件修改的是modified中的content,fis3-deploy-zip文件使用的是total列表,两者内容不同步
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant