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

fix: move the temp zip file to .ask to integ with extension #375

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

ShenChen93
Copy link
Contributor

Issue #, if available:

There's a new extension feature skill-package validator, which is a fileSystemWatcher on skilPackage folder. If the watcher catch any unexecpeted files, it will throw warn in the extension.

Recently there's customer tried to use the cli to deploy skill with the extension opened. Since the cli will generate the temp zip under skillPackage, it will trigger the extension alert.

Description of changes:

Instead of generating the zip file under skillPackage folder, rightnow will move the temp zip to .ask folder.
Changed the zipUtil.createTempZip function to take in a new param which will specify the output dir. And in the skillDeployController, add logic to get the .ask folder path and pass it into the createTempZip.

Fixed all the unit tests. And tested this feature with a skill at my local, the temp zip file will now generated inside .ask folder.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kakhaUrigashvili kakhaUrigashvili merged commit a3beab3 into develop Jan 25, 2021
@kakhaUrigashvili kakhaUrigashvili deleted the extensionInteg branch January 25, 2021 18:09
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

Successfully merging this pull request may close these issues.

2 participants