Skip to content

Commit

Permalink
refactor: prefix node:* to fs
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Nov 8, 2024
1 parent fb559de commit 2c4a302
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/AndroidManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
under the License.
*/

const fs = require('fs');
const fs = require('node:fs');
const xml = require('cordova-common').xmlHelpers;

const DEFAULT_ORIENTATION = 'default';
Expand Down
2 changes: 1 addition & 1 deletion lib/AndroidProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
under the License.
*/

const fs = require('fs');
const fs = require('node:fs');
const path = require('node:path');
const properties_parser = require('properties-parser');
const pluginHandlers = require('./pluginHandlers');
Expand Down
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

const path = require('node:path');
const fs = require('fs');
const fs = require('node:fs');
const nopt = require('nopt');
const untildify = require('untildify');
const { parseArgsStringToArgv } = require('string-argv');
Expand Down
2 changes: 1 addition & 1 deletion lib/config/GradlePropertiesParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
under the License.
*/

const fs = require('fs');
const fs = require('node:fs');
const path = require('node:path');
const propertiesParser = require('properties-parser');
const events = require('cordova-common').events;
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/AndroidManifest.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
under the License.
*/

const fs = require('fs');
const fs = require('node:fs');
const os = require('node:os');
const path = require('node:path');
const rewire = require('rewire');
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/android_sdk.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
under the License.
*/

const fs = require('fs');
const fs = require('node:fs');
const path = require('node:path');
const rewire = require('rewire');

Expand Down

0 comments on commit 2c4a302

Please sign in to comment.