Skip to content

Commit

Permalink
Remove function from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Miraeld committed Sep 19, 2024
1 parent 24958c1 commit d2df696
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions config/wp.config.sample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,9 @@ const {
* }}
*/

function getScenarioUrls(scriptName: string) {
return ScenarioUrls[scriptName];
}

const scriptName = process.env.npm_lifecycle_event;
const SCENARIO_URLS = getScenarioUrls(scriptName);
const SCENARIO_URLS = ScenarioUrls[scriptName];

/**
* Exported WordPress environment configuration.
Expand Down

0 comments on commit d2df696

Please sign in to comment.