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: log action file path [EDS-269] #3

Merged
merged 30 commits into from
Jul 18, 2024
Merged

fix: log action file path [EDS-269] #3

merged 30 commits into from
Jul 18, 2024

Conversation

Nevoss
Copy link
Member

@Nevoss Nevoss commented Jul 17, 2024

No description provided.

tsup.config.ts Outdated
Comment on lines 12 to 28
esbuildPlugins: [
{
name: 'remove-import-zx',
setup(build) {
build.onLoad({ filter: /.*/ }, async (args) => {
const content = await fs.readFile(args.path, 'utf-8');

return {
contents: content.replaceAll(
/^import .+ from 'zx';?$/gm,
'',
),
};
});
},
},
],
Copy link
Member

@StyleShit StyleShit Jul 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
esbuildPlugins: [
{
name: 'remove-import-zx',
setup(build) {
build.onLoad({ filter: /.*/ }, async (args) => {
const content = await fs.readFile(args.path, 'utf-8');
return {
contents: content.replaceAll(
/^import .+ from 'zx';?$/gm,
'',
),
};
});
},
},
],
esbuildPlugins: [removeZXImports()],

Maybe? + add explanation why we did this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -11,4 +11,4 @@ runs:
steps:
- name: Log message
shell: bash
run: npx zx@8 ./dist/index.js --message="${{inputs.message}}"
run: npx zx ./actions/log/dist/index.js --message="${{ inputs.message }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
run: npx zx ./actions/log/dist/index.js --message="${{ inputs.message }}"
run: npx zx@8 ./actions/log/dist/index.js --message="${{ inputs.message }}"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Nevoss Nevoss changed the title fix: log action file path fix: log action file path [EDS-269] Jul 18, 2024
@StyleShit StyleShit merged commit 73b7534 into elementor:master Jul 18, 2024
3 checks passed
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