MCPcopy Create free account
hub / github.com/bigcommerce/stencil-cli / run

Method run

lib/nodeSass/BaseRulesFixer.js:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4class BaseRulesFixer extends BaseFixer {
5 async run() {
6 const scss = fs.readFileSync(this.filePath, 'utf8');
7 const processedFile = await this.processCss(scss, this.transform());
8 return [{ filePath: this.filePath, data: processedFile.css }];
9 }
10
11 transform() {
12 const self = this;

Callers 1

tryToFixMethod · 0.95

Calls 2

transformMethod · 0.95
processCssMethod · 0.80

Tested by

no test coverage detected