Skip to content

Commit

Permalink
Small updates to cjs files to switch CRLF to LF, adding attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoarthur0 committed Jan 8, 2024
1 parent 171ac26 commit 5a3f644
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*.bat text eol=crlf
*.cmd text eol=crlf
*.coffee text
*.cjs text eol=lf
*.css text
*.htm text diff=html
*.html text diff=html
Expand All @@ -21,6 +22,7 @@
*.less text
*.ls text
*.map text -diff
*.mjs text eol=lf
*.od text
*.onlydata text
*.php text diff=php
Expand Down
2 changes: 1 addition & 1 deletion js/app-config.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const { app } = require('electron');
const path = require('path');
const os = require('os');
const path = require('path');

const macOS = process.platform === 'darwin';
const win32 = process.platform === 'win32';
Expand Down
2 changes: 1 addition & 1 deletion js/window-aux.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const BrowserWindow = (electron || require('@electron/remote')).BrowserWindow;
const dialog = (electron || require('@electron/remote')).dialog;

/**
* Opens an electron dialog, based on the options, and returns the promise.
* Opens an electron dialog based on the options, and returns a promise that resolves with the response.
* @param {Object.<string, any>} options
* @return {Promise}
*/
Expand Down

0 comments on commit 5a3f644

Please sign in to comment.